Skip to content
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

pgmq don't manipulate sequences during upgrade #1471

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

olirice
Copy link
Contributor

@olirice olirice commented Mar 7, 2025

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

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
@olirice olirice requested a review from a team as a code owner March 7, 2025 14:56
@olirice olirice changed the title pgmq don't manipulate sequences pgmq don't manipulate sequences during upgrade Mar 7, 2025
@pcnc
Copy link
Member

pcnc commented Mar 7, 2025

@samrose
Copy link
Collaborator

samrose commented Mar 25, 2025

@olirice @pcnc how can I help move this forward?

@olirice
Copy link
Contributor Author

olirice commented Mar 25, 2025

@pcnc would be good to get this one reviewed as pg17 will likely trigger a lot of upgrades

@samrose
Copy link
Collaborator

samrose commented Mar 25, 2025

Maybe needs rebase and testing?

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.

3 participants