Prevent duplicate call to stored procs

Reuse a CTE for results of call
This commit is contained in:
Joe Nelson
2016-03-12 18:28:36 -08:00
parent 358254639a
commit 4cc08a11e7
5 changed files with 31 additions and 7 deletions
+1
View File
@@ -43,6 +43,7 @@ GRANT INSERT ON TABLE insertonly TO postgrest_test_anonymous;
GRANT USAGE ON SEQUENCE
auto_incrementing_pk_id_seq
, items_id_seq
, callcounter_count
TO postgrest_test_anonymous;
-- Privileges for non anonymous users