From f66dac631c47e3381a40dc1f3f65475c7e1b9649 Mon Sep 17 00:00:00 2001 From: jsalyers <jsalyers@syncad.com> Date: Mon, 9 Nov 2020 17:07:46 -0500 Subject: [PATCH] [JES] Noticed the STABLEs got switched back to VOLATILEs. This fixes that --- ...ge_get_ranked_post_for_observer_communities.sql | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hive/db/sql_scripts/bridge_get_ranked_post_for_observer_communities.sql b/hive/db/sql_scripts/bridge_get_ranked_post_for_observer_communities.sql index 7e4317e5b..123368645 100644 --- a/hive/db/sql_scripts/bridge_get_ranked_post_for_observer_communities.sql +++ b/hive/db/sql_scripts/bridge_get_ranked_post_for_observer_communities.sql @@ -61,7 +61,7 @@ BEGIN LIMIT _limit; END $function$ -language plpgsql VOLATILE; +language plpgsql STABLE; DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_hot_for_observer_communities; CREATE FUNCTION bridge_get_ranked_post_by_hot_for_observer_communities( in _observer VARCHAR, in _author VARCHAR, in _permlink VARCHAR, in _limit SMALLINT ) @@ -130,7 +130,7 @@ BEGIN LIMIT _limit; END $function$ -language plpgsql VOLATILE; +language plpgsql STABLE; DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_payout_comments_for_observer_communities; CREATE FUNCTION bridge_get_ranked_post_by_payout_comments_for_observer_communities( in _observer VARCHAR, in _author VARCHAR, in _permlink VARCHAR, in _limit SMALLINT ) @@ -209,7 +209,7 @@ BEGIN LIMIT _limit; END $function$ -language plpgsql VOLATILE; +language plpgsql STABLE; DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_payout_for_observer_communities; CREATE FUNCTION bridge_get_ranked_post_by_payout_for_observer_communities( in _observer VARCHAR, in _author VARCHAR, in _permlink VARCHAR, in _limit SMALLINT ) @@ -281,7 +281,7 @@ BEGIN LIMIT _limit; END $function$ -language plpgsql VOLATILE; +language plpgsql STABLE; DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_promoted_for_observer_communities; CREATE FUNCTION bridge_get_ranked_post_by_promoted_for_observer_communities( in _observer VARCHAR, in _author VARCHAR, in _permlink VARCHAR, in _limit SMALLINT ) @@ -351,7 +351,7 @@ BEGIN LIMIT _limit; END $function$ -language plpgsql VOLATILE; +language plpgsql STABLE; DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_trends_for_observer_communities; CREATE OR REPLACE FUNCTION bridge_get_ranked_post_by_trends_for_observer_communities( in _observer VARCHAR, in _author VARCHAR, in _permlink VARCHAR, in _limit SMALLINT ) @@ -432,7 +432,7 @@ BEGIN LIMIT _limit; END $function$ -language plpgsql VOLATILE; +language plpgsql STABLE; DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_muted_for_observer_communities; CREATE FUNCTION bridge_get_ranked_post_by_muted_for_observer_communities( in _observer VARCHAR, in _author VARCHAR, in _permlink VARCHAR, in _limit SMALLINT ) @@ -503,4 +503,4 @@ BEGIN LIMIT _limit; END $function$ -language plpgsql VOLATILE; +language plpgsql STABLE; -- GitLab