Skip to content

Fix permission issue on postgresql15 or later #176

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

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

Conversation

kkimurak
Copy link
Contributor

PostgreSQL 15 or later removed PUBLIC creation permission on the public schema. As sameersbn/postgresql does not have a way to set database owner, user can face permission issue. See https://www.postgresql.org/docs/15/release-15.html

This PR ports following fixes from my fork kkimurak/sameersbn-postgresql.

fix: specify database to GRANT ALL ON SCHEMA public TO ${DB_USER}
@kkimurak kkimurak mentioned this pull request Jul 17, 2025
If it is set to true, issue `ALTER DATABASE .. OWNER TO ${DB_USER}`
@kkimurak kkimurak force-pushed the port/fix-permission-issue-later-postgresql15 branch from 6e5f997 to 903331e Compare July 18, 2025 15:24
@kkimurak
Copy link
Contributor Author

Fixed typo in docs: parameter name DB_USER_IS_DB_NAME -> DB_USER_IS_DB_OWNER

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.

1 participant