|
1 | | -/* |
2 | | - This test is to validate the SQL for the Supabase Queues integration that |
| 1 | +/* |
| 2 | + This test is to validate the SQL for the Supabase Queues integration that |
3 | 3 | will be triggered in the FE and documented for how to manually expose |
4 | 4 | queues over supabase client libs by wrapping `pgmq`'s functions into a |
5 | 5 | separate schema that we can add to PostgREST's 'exposed_schemas' setting |
@@ -194,8 +194,7 @@ grant execute on function pgmq.archive(text, bigint) to postgres, service_role, |
194 | 194 | grant execute on function queues_public.queue_delete(text, bigint) to postgres, service_role, anon, authenticated; |
195 | 195 | grant execute on function pgmq.delete(text, bigint) to postgres, service_role, anon, authenticated; |
196 | 196 | grant execute on function queues_public.queue_read(text, integer, integer) to postgres, service_role, anon, authenticated; |
197 | | -grant execute on function pgmq.read(text, integer, integer, jsonb) to postgres, service_role, anon, authenticated; |
198 | | -ERROR: function pgmq.read(text, integer, integer, jsonb) does not exist |
| 197 | +grant execute on function pgmq.read(text, integer, integer) to postgres, service_role, anon, authenticated; |
199 | 198 | -- For the service role, we want full access |
200 | 199 | -- Grant permissions on existing tables |
201 | 200 | grant all privileges on all tables in schema pgmq to postgres, service_role; |
|
0 commit comments