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

Added check for pg_checkpoint role presence #807

Merged
merged 7 commits into from
Sep 11, 2024

Conversation

RealGreenDragon
Copy link
Contributor

PostgreSQL 15 introduced pg_checkpoint default role which allows at a non-superuser repmgr database user to perform CHECKPOINT command.

This PR implements what requested in issue #804.

@RealGreenDragon
Copy link
Contributor Author

Any news on this PR?

dbutils.c Outdated Show resolved Hide resolved
dbutils.c Outdated Show resolved Hide resolved
doc/configuration-permissions.xml Outdated Show resolved Hide resolved
doc/configuration-permissions.xml Outdated Show resolved Hide resolved
doc/repmgr-node-service.xml Outdated Show resolved Hide resolved
doc/repmgr-standby-switchover.xml Outdated Show resolved Hide resolved
Co-authored-by: Martín Marqués <[email protected]>
@RealGreenDragon
Copy link
Contributor Author

@martinmarques Thank you very much for the PR review :)

I committed all change suggestions and answered at USAGE/MEMBER question.

@martinmarques
Copy link
Collaborator

You may need to rebase this PR as I've just merged PR 808

@RealGreenDragon RealGreenDragon requested a review from a team as a code owner September 9, 2024 18:29
@RealGreenDragon
Copy link
Contributor Author

PR rebased, pg_has_role function changed here, and opened the following two PRs to fix it everywhere:

Repmgr: #862
Barman: EnterpriseDB/barman#1012

@martinmarques
Copy link
Collaborator

This is ready to be merged

@martinmarques martinmarques merged commit f69485c into EnterpriseDB:master Sep 11, 2024
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