Skip to content

Conversation

soedirgo
Copy link
Member

https://www.notion.so/supabase/Change-bootstrap-user-to-supabase_admin-during-pg_upgrade-fa83a2da23994591af8d075edebed6de?pvs=4

This unblocks PG16, which disallows the bootstrap user to be downgraded to a non-superuser.

@soedirgo soedirgo requested review from a team as code owners August 15, 2024 14:28
@soedirgo soedirgo force-pushed the bs/bootstrap-user branch 2 times, most recently from 513a558 to 70e6d44 Compare August 18, 2024 08:33
@soedirgo soedirgo marked this pull request as draft August 19, 2024 03:00
@soedirgo soedirgo force-pushed the bs/bootstrap-user branch 10 times, most recently from 410edc7 to 99be145 Compare August 19, 2024 07:12
@soedirgo soedirgo marked this pull request as ready for review August 19, 2024 09:49
Copy link
Member

@pcnc pcnc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving - to be merged on Sept 11th in UTC morning

@soedirgo soedirgo merged commit ab7f879 into develop Sep 11, 2024
8 checks passed
@soedirgo soedirgo deleted the bs/bootstrap-user branch September 11, 2024 09:16
damonrand pushed a commit to cepro/postgres that referenced this pull request Jun 15, 2025
…e#1125)

* feat: change bootstrap user to supabase_admin upon upgrade

* chore: bump version

* fix: account for procedures

* fix: only update pg_hba.conf if needed

* chore: persist file in pg_upgrade_scripts directory; run only when targeting PG16

* chore: revert PG16 gating

* Revert "chore: persist file in pg_upgrade_scripts directory; run only when targeting PG16"

This reverts commit 376a934.

* Update common-nix.vars.pkr.hcl

---------

Co-authored-by: Paul Cioanca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants