Skip to content
Snippets Groups Projects
Commit 60c4ff77 authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] Noticed the STABLEs got switched back to VOLATILEs. This fixes that

parent f992ce04
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!370Jsalyers muting at sql level
...@@ -61,7 +61,7 @@ BEGIN ...@@ -61,7 +61,7 @@ BEGIN
LIMIT _limit; LIMIT _limit;
END END
$function$ $function$
language plpgsql VOLATILE; language plpgsql STABLE;
DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_hot_for_observer_communities; 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 ) 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 ...@@ -130,7 +130,7 @@ BEGIN
LIMIT _limit; LIMIT _limit;
END END
$function$ $function$
language plpgsql VOLATILE; language plpgsql STABLE;
DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_payout_comments_for_observer_communities; 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 ) 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 ...@@ -209,7 +209,7 @@ BEGIN
LIMIT _limit; LIMIT _limit;
END END
$function$ $function$
language plpgsql VOLATILE; language plpgsql STABLE;
DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_payout_for_observer_communities; 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 ) 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 ...@@ -281,7 +281,7 @@ BEGIN
LIMIT _limit; LIMIT _limit;
END END
$function$ $function$
language plpgsql VOLATILE; language plpgsql STABLE;
DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_promoted_for_observer_communities; 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 ) 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 ...@@ -351,7 +351,7 @@ BEGIN
LIMIT _limit; LIMIT _limit;
END END
$function$ $function$
language plpgsql VOLATILE; language plpgsql STABLE;
DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_trends_for_observer_communities; 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 ) 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 ...@@ -432,7 +432,7 @@ BEGIN
LIMIT _limit; LIMIT _limit;
END END
$function$ $function$
language plpgsql VOLATILE; language plpgsql STABLE;
DROP FUNCTION IF EXISTS bridge_get_ranked_post_by_muted_for_observer_communities; 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 ) 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 ...@@ -503,4 +503,4 @@ BEGIN
LIMIT _limit; LIMIT _limit;
END END
$function$ $function$
language plpgsql VOLATILE; language plpgsql STABLE;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment