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

add migration for pg_create_subscription grant #1514

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

encima
Copy link
Member

@encima encima commented Apr 2, 2025

What kind of change does this PR introduce?

Feature

What is the current behavior?

Non superusers are unable to create subscriptions

What is the new behavior?

For 16 and above, this is possible as long as pg_create_subscription is granted by superuser to a role

Additional context

Unsure if handling the version check in the migration is the best choice but it is the most automated way

@encima encima requested review from a team as code owners April 2, 2025 09:44
@samrose samrose requested a review from soedirgo April 3, 2025 18:00
@steve-chavez
Copy link
Member

Please let's merge #1521 before this one. We're adding new tests and we need to ensure this one is passing. (I can help to modify tests if something fails here).

@soedirgo soedirgo self-requested a review April 4, 2025 07:27
Copy link
Member

@soedirgo soedirgo left a comment

Choose a reason for hiding this comment

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

Blocked on #1521

@steve-chavez
Copy link
Member

#1521 was merged, please rebase here.

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