Skip to content
Snippets Groups Projects
Commit 1a9d8154 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Merge branch 'mi_fix_volatile_in_get_bridge' into 'develop'

fix incorrect volatile sql function type

See merge request !366
parents 4fe3504a 097e60ee
Branches pyup-scheduled-update-2019-09-16
No related tags found
2 merge requests!456Release candidate v1 24,!366fix incorrect volatile sql function type
......@@ -55,7 +55,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 )
......@@ -118,7 +118,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 )
......@@ -190,7 +190,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 )
......@@ -255,7 +255,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 )
......@@ -318,7 +318,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 )
......@@ -390,7 +390,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 )
......@@ -454,4 +454,4 @@ BEGIN
LIMIT _limit;
END
$function$
language plpgsql VOLATILE;
language plpgsql STABLE;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment