Hi Chris, Christopher Baines <[email protected]> skribis:
> [email protected] writes: > >> civodul pushed a commit to branch master >> in repository guix. >> >> commit e45306c1982aee194243cf661295c7ca776d879f >> Author: Ludovic Courtès <[email protected]> >> AuthorDate: Thu Apr 20 10:38:37 2023 +0200 >> >> services: postgresql: Add default package. >> >> * gnu/services/databases.scm (<postgresql-configuration>)[postgresql]: >> Add default value, moved from... >> (postgresql-service-type)[default-value]: ... here. >> --- >> gnu/services/databases.scm | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) > > The default was removed a few years ago [1] and I don't think there's > been a significant change (like supporting automatic upgrading existing > databases between versions) in the service since then. > > 1: > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=bdcf4d88d58798eca7811c8b1fbd4638168d05c3 Oh, my bad. I found it weird that the default value would be found in the service and not in the configuration object. The result is that there is a default value, just not where you’d expect it. But yeah, I understand the rationale of the commit above, so we should probably revert to that and add a comment explaining why there’s no default. I wonder how we can make sure that users can still write (say): (service cuirass-service-type) without having to explicitly specify which postgresql version they want to use. WDYT? Ludo’.
