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

support changing config after initdb, or editing from user call #415

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

pmp-p
Copy link
Collaborator

@pmp-p pmp-p commented Nov 6, 2024

nb : does not handle modifying arrays, they are overwritten.

Copy link
Contributor

github-actions bot commented Nov 12, 2024

@@ -419,6 +419,8 @@ export class PGlite
'INITDB created a new datadir, but an alternative db/user was requested',
)
}
// time to mark extensions that need special treatment on startup.
if (options.postgresqlConf) this.updateConf(options.postgresqlConf)
Copy link
Collaborator

Choose a reason for hiding this comment

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

If I understand correctly, this runs after initdb. I think I need to add some tests to check is PG correctly reads and process it.

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.

API to customise postgres.conf pg_stat_statements and preloading extensions
2 participants