Skip to content

Commit 2235c4a

Browse files
authored
chore: remove postgres role perms post-upgrade (#775)
* fix: remove permissions granted during the upgrade, post-upgrade * chore: bump pg version
1 parent a8820af commit 2235c4a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/complete.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ function complete_pg_upgrade {
4545
echo "4. Running generated SQL files"
4646
retry 3 run_generated_sql
4747

48+
run_sql -c "ALTER USER postgres WITH NOSUPERUSER;"
49+
4850
echo "4.1. Applying authentication scheme updates"
4951
retry 3 apply_auth_scheme_updates
5052

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.0.130"
1+
postgres-version = "15.1.0.131"

0 commit comments

Comments
 (0)