Skip to content

Commit 50d0c77

Browse files
authored
fix(pg_upgrade): enable alter role queries after upgrade completes (#1630)
1 parent 19bdfcc commit 50d0c77

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/complete.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ EOF
268268
SELECT current_setting('server_version_num')::INT / 10000 INTO major_version;
269269
IF major_version >= 16 THEN
270270
GRANT pg_create_subscription TO postgres;
271+
GRANT anon, authenticated, service_role, authenticator, pg_monitor, pg_read_all_data, pg_signal_backend TO postgres WITH ADMIN OPTION;
271272
END IF;
272273
GRANT pg_monitor, pg_read_all_data, pg_signal_backend TO postgres;
273274
END

0 commit comments

Comments
 (0)