Skip to content

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