-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Adding a Postgres plugin restarts Postgres #61480
Comments
You can probably disable this behavior for your own use case by setting Example current usage:
|
@jamessewell unfortunately, this would be left as by-design for now. There are a few problems, some PG related, some Nix related.
So stick to restarts for now. I've created meta-issue #65296 to track this |
Issue description
Using the new Postgresql design when extensions are added to Postgresql using extraPlugins a new
postgresql-and-plugins
derivation is created.While this solves a lot of other issues, one it creates is that adding extensions causes the Postgresql service to be restarted (which isn't strictly needed).
Steps to reproduce
Start a postgresql service, add
to the config and switch to it - a new
postgresql-and-plugins
derivation will be created and activated, which will cause a service stop / start.Technical details
"x86_64-linux"
Linux 4.19.37, NixOS, 19.09pre179307.bc94dcf5002 (Loris)
yes
yes
nix-env (Nix) 2.2.2
""
"nixos-19.09pre179307.bc94dcf5002"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: