We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf452e4 commit 3bc1710Copy full SHA for 3bc1710
ansible/files/admin_api_scripts/pg_upgrade_scripts/common.sh
@@ -457,7 +457,7 @@ begin
457
loop
458
if obj->>'owner' = 'postgres' then
459
execute(format('alter %s %s(%s) owner to postgres;'
460
- , case when obj->>'kind' = 'p' then 'procedure' else 'function'
+ , case when obj->>'kind' = 'p' then 'procedure' else 'function' end
461
, (obj->>'oid')::regproc
462
, pg_get_function_identity_arguments((obj->>'oid')::regproc)));
463
end if;
0 commit comments