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

rename schema from environment variable #1180

Open
stmtk1 opened this issue Jan 6, 2024 · 1 comment
Open

rename schema from environment variable #1180

stmtk1 opened this issue Jan 6, 2024 · 1 comment

Comments

@stmtk1
Copy link

stmtk1 commented Jan 6, 2024

In this image, the environment variables POSTGRES_DB, POSTGRES_USER and POSTGRES_PASSWORD can be used to change the database name, user name and password name, but not the schema name. So we want to be able to change the schema name using the new environment variable POSTGRES_SCHEMA.

@tianon
Copy link
Member

tianon commented Jan 8, 2024

Does the default schema change anything about the way the initialization we perform works? (my gut reaction would be to suggest an early-initdb .sql file drop-in that does something like ALTER SCHEMA xxx RENAME TO yyy)

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

No branches or pull requests

2 participants