Skip to content

Commit 360c51c

Browse files
committed
test
1 parent d4c1297 commit 360c51c

File tree

1 file changed

+0
-4
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+0
-4
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,21 +363,17 @@ declare
363363
select coalesce(array_agg(jsonb_build_object('oid', p.oid, 'acl', p.proacl::text)), '{}')
364364
from pg_proc p
365365
join pg_namespace n on n.oid = p.pronamespace
366-
join pg_authid a on a.oid = p.proowner
367366
where true
368367
and n.nspname != 'information_schema'
369368
and not starts_with(n.nspname, 'pg_')
370-
and a.rolname = 'postgres'
371369
);
372370
relations jsonb[] := (
373371
select coalesce(array_agg(jsonb_build_object('oid', c.oid, 'acl', c.relacl::text)), '{}')
374372
from pg_class c
375373
join pg_namespace n on n.oid = c.relnamespace
376-
join pg_authid a on a.oid = c.relowner
377374
where true
378375
and n.nspname != 'information_schema'
379376
and not starts_with(n.nspname, 'pg_')
380-
and a.rolname = 'postgres'
381377
and c.relkind not in ('c', 'i')
382378
);
383379
rec record;

0 commit comments

Comments
 (0)