Skip to content

Commit 3bc1710

Browse files
authored
fix: pg_upgrade_script (#1336)
1 parent bf452e4 commit 3bc1710

File tree

1 file changed

+1
-1
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+1
-1
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ begin
457457
loop
458458
if obj->>'owner' = 'postgres' then
459459
execute(format('alter %s %s(%s) owner to postgres;'
460-
, case when obj->>'kind' = 'p' then 'procedure' else 'function'
460+
, case when obj->>'kind' = 'p' then 'procedure' else 'function' end
461461
, (obj->>'oid')::regproc
462462
, pg_get_function_identity_arguments((obj->>'oid')::regproc)));
463463
end if;

0 commit comments

Comments
 (0)