-
-
Notifications
You must be signed in to change notification settings - Fork 192
pgmq don't manipulate sequences during upgrade #1471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The script being deleted was a hacky solution we put in place to resolve a pg_dump segfault due to its interaction with pgmq tables. It currently introduces errors where sequences become owned by supabase_admin and are inaccessible to users after upgrading. https://supabase.slack.com/archives/C05Q0CVC65B/p1741093731995359 This update mirrors the same code's removal from our on-backup hook here: https://github.com/supabase/infrastructure/pull/21405/files
To be validated in staging prior to merging - https://supabase.slack.com/archives/C05Q0CVC65B/p1741359614936839?thread_ts=1741093731.995359&cid=C05Q0CVC65B |
@pcnc would be good to get this one reviewed as pg17 will likely trigger a lot of upgrades |
Maybe needs rebase and testing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@soedirgo just need to update vars.yml versions to get this released
Shouldn't need to do that, we just need to trigger the publish pg_upgrade scripts job |
Tested on local infra, fixed sequence ownership issues for both 15 -> 17 and 17 -> 17 |
The script being deleted was a hacky solution we put in place to resolve a pg_dump segfault due to its interaction with pgmq tables. It currently introduces errors where sequences become owned by supabase_admin and are inaccessible to users after upgrading. https://supabase.slack.com/archives/C05Q0CVC65B/p1741093731995359
This update mirrors the same code's removal from our on-backup hook here: https://github.com/supabase/infrastructure/pull/21405/files