GNU bug report logs - #74058
[PATCH 0/2] [important] Set postgresql default value to #f and warn users.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Mon, 28 Oct 2024 11:13:02 UTC

Severity: normal

Tags: patch

Done: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Bug is archived. No further changes may be made.

Full log


Message #41 received at 74058 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 74058 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>,
 Florian Pelz <pelzflorian <at> pelzflorian.de>
Subject: [PATCH v4 2/2] etc: news: Warn users about postgresql default update.
Date: Sat,  9 Nov 2024 23:23:35 +0100
* etc/news.scm: Add entry.

Co-authored-by: Florian Pelz <pelzflorian <at> pelzflorian.de>
---
 etc/news.scm | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/etc/news.scm b/etc/news.scm
index 4929fa2a9a..ba1f204b08 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -25,6 +25,7 @@
 ;; Copyright © 2024 Vivien Kraus <vivien <at> planete-kraus.eu>
 ;; Copyright © 2024 Guillaume Le Vaillant <glv <at> posteo.net>
 ;; Copyright © 2024 Zheng Junjie <873216071 <at> qq.com>
+;; Copyright © 2024 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;
 ;; Copying and distribution of this file, with or without modification, are
 ;; permitted in any medium without royalty provided the copyright notice and
@@ -33,6 +34,69 @@
 (channel-news
  (version 0)
 
+ (entry (commit "")  ;TODO fill it based on the previous commit
+        (title (en "PostgreSQL service upgrade")
+               (de "PostgreSQL-Dienst aktualisiert")
+               (fr "Mise à jour du service PostgreSQL"))
+        (body
+         (en "\
+This news entry concerns users of the @code{postgresql-service-type}.
+
+The default PostgreSQL used in @code{postgresql-configuration} has been
+deprecated, and will be removed in a few months.  However, the value of the
+default @code{postgresql-configuration-postgresql} can't be directly changed
+to a newer major version of PostgreSQL, because switching to a major version
+currently requires a manual update of the database.
+
+Because of this, the default value of postgresql-configuration-postgresql has
+been set to @code{'*no*}.  Current users of the service will have to set it
+manually.  If it was unset, use @code{postgresql-10} and plan an upgrade in the
+next month to a supported version of PostgreSQL.  To upgrade, you will need to
+either dump your database using your previous version of PostgreSQL and reload
+it in the new version or use the @command{pg_upgrade} application.  See
+@url{https://www.postgresql.org/docs/current/upgrading.html} for more
+info.")
+         (de "\
+Diese Neuigkeit betrifft Nutzer des @code{postgresql-service-type}.
+
+Die in @code{postgresql-configuration} bisher vorgegebene Version von gilt als
+veraltet und wird in ein paar Monaten entfernt werden.  Allerdings können wir
+den Vorgabewert von @code{postgresql-configuration-postgresql} nicht einfach
+für Sie auf eine neuere große Version ändern, weil bei so einem Wechsel die
+Datenbank derzeit manuell aktualisiert werden muss.
+
+Aus diesem Grund wurde der Vorgabewert von
+@code{postgresql-configuration-postgresql} von nun an auf @code{'*no*}
+gesetzt.  Aktuelle Nutzer des Dienstes müssen sie selbst setzen.  Wenn kein
+Wert gesetzt war, sollten Sie @code{postgresql-10} eintragen und dabei
+einplanen, dass Sie es kommenden Monat auf eine unterstützte Version von
+PostgreSQL aktualisieren müssen.  Zum Aktualisieren werden Sie entweder mit
+der vorherigen Version von PostgreSQL ein Dump Ihrer Datenbank exportieren,
+das Sie dann in der neuen Version laden, oder Sie benutzen dafür die Anwendung
+@command{pg_upgrade}.  Siehe
+@url{https://www.postgresql.org/docs/current/upgrading.html} für weitere
+Informationen.")
+         (fr "\
+Ce message concerne les utilisateurs du service-type PostgreSQL.
+
+La précédente version par défaut de PostgreSQL utilisée dans
+@code{postgresqsl-configuration} est obsolète et sera supprimée dans quelques
+mois.  Cependant, la valeur de la configuration par défaut
+@code{postgresql-configuration-postgresql} ne peut pas être changée
+directement pour une version majeure prise en charge de PostgreSQL, car le
+passage à une nouvelle version majeure nécessite actuellement une mise à jour
+manuelle de la base de données.
+
+Pour cette raison, la valeur par défaut de
+@code{postgresql-configuration-postgresql} est maintenant @code{'*no*} et les
+utilisateurs actuels du service doivent la configurer manuellement. Si elle
+n’était pas définie, utilisez @code{postgresql-10} et prévoyez une mise à jour
+dans le mois à venir vers une version plus récente de PostgreSQL.  Pour
+effectuer la mise à jour, vous devrez soit exporter votre base de données sous
+une version de PostgreSQL puis la réimporter sous une nouvelle version, soit
+utiliser l'application @command{pg_upgrade}. Pour plus d'informations,
+consultez @url{https://www.postgresql.org/docs/current/upgrading.html}.")))
+
  (entry (commit "5966e0fdc78771c562e0f484a22f381a77908be0")
         (title
          (en "Daemon vulnerability allowing takeover of build users fixed")
-- 
2.46.0





This bug report was last modified 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.