From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OBMABRmiK2cNpAAAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Nov 2024 17:06:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OBMABRmiK2cNpAAAqHPOHw (envelope-from ) for ; Wed, 06 Nov 2024 18:06:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=S32orHQG; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=dkBNruDa; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730912792; a=rsa-sha256; cv=none; b=ZTjsU5S/vKCaBFVs/HUI74UJXbxEWcfUlVydHBuBGR20xPcKSBt2DCiUFK11fnlTF/ZiRb c2EUb8xypsH3D5mcexRZ5pBo+MRrxfXkbTNzo8UqNoSgOrcMJITZZGZACY+/jAdIbh6meU +W7Kr8RvSyxVkzbVKgYIyvNBNQsuWuTf5OOc08atLqk4qwTuj8/dgGG0myj3BCZTDIvGUr ZmWh6vvvU3OOZJsODriyVrmsOEMhDjr1CZk4kjd40S83ZEuecGfYCe2KoRFx/Y53+uWVK+ eHXBsx/o6NrRkQd/rKhrGtl7LOscqx4wLI7jWSZHx2ROyGjCj4WKP5Z3ioMslg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=S32orHQG; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=dkBNruDa; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730912792; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KOfIQMHh8iBcscdEBO25J5DsEKQ2fU80Z7zTzL2g3Ck=; b=fRFGW8I/3Ba4wIPHT6Q7IhUUnpXRlLqcI319Al7ECZ87YC5pV6rCXTXhLMCu9SQXfrcC82 MZcpne8X42uS4BG+iy/ScpxxPlOtG0LXPrsgsEGDwAHioB+kHgVpsgCOwQCzpO9vMymNNR E+wemjQGSF8k4MkGFo5sXG359OE7CIkpmR3KIrd1LuJCBPxXoQEfNI84G1K88+/VMR3HNM SuviXeyw+RqNd0iv7LCao5WYcQDHbPX7WbUVjqW0SzcQc2ts7S9ClVL8z+hjJkg9BUdBi0 fQlz3uKYuCjnGJ2ENvHIrf7KnxbadAj3/QWgDIIH2flOP+P4fuHr1iu3+tS+ig== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A81A41A0A3 for ; Wed, 06 Nov 2024 18:06:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8jTp-00048V-DA; Wed, 06 Nov 2024 12:06:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t8jTn-000481-9C for guix-patches@gnu.org; Wed, 06 Nov 2024 12:06:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t8jTm-0004FB-Ty for guix-patches@gnu.org; Wed, 06 Nov 2024 12:06:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=KOfIQMHh8iBcscdEBO25J5DsEKQ2fU80Z7zTzL2g3Ck=; b=S32orHQGPh0lU1shUM/C5ja02y9aPLTj1JUy/7pM4+FtcAKwUPzU6Gq98ZGSRo3nkl8b61Awwn13as27r9mngQDctMgm/+FIQqkyqOjWEuei0iUAMofNaoxXkunCKz0HtWvNG6Hq73kpVBa5MnaJ9xwMNOqaguZRUfi+2rtVn3ghF8phRXlCpavkMU/SHVRpVHktPzq6N0IE+3VTd8lMyqelTgEGJcu5pN/Sd4Q/mUjrQEwRJ48WiL0bmwmXYRPTXJbMcH7ptprTsjDZnksAwJ2H7lim047LOFXQcv5Tt92xcod/KJ+Vtg7Gmrnx5/1FcFSNOAG3lwayEYo9UfX6og==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8jTm-0001rj-Gb for guix-patches@gnu.org; Wed, 06 Nov 2024 12:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74058] [PATCH v2 1/2] gnu: postgresql-configuration: Set default postgresql to *no*. References: <20241028105741.12834-1-ngraves@ngraves.fr> In-Reply-To: <20241028105741.12834-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2024 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74058 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74058@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 74058-submit@debbugs.gnu.org id=B74058.17309127056748 (code B ref 74058); Wed, 06 Nov 2024 17:06:02 +0000 Received: (at 74058) by debbugs.gnu.org; 6 Nov 2024 17:05:05 +0000 Received: from localhost ([127.0.0.1]:45294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8jSq-0001kN-Rh for submit@debbugs.gnu.org; Wed, 06 Nov 2024 12:05:05 -0500 Received: from 7.mo582.mail-out.ovh.net ([46.105.59.196]:52497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8jSm-0001jB-WB for 74058@debbugs.gnu.org; Wed, 06 Nov 2024 12:05:03 -0500 Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.176.8]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4XkBQg3Cjsz1Std for <74058@debbugs.gnu.org>; Wed, 6 Nov 2024 17:04:59 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-rrbh9 (unknown [10.111.182.135]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E29441FD39; Wed, 6 Nov 2024 17:04:58 +0000 (UTC) Received: from ngraves.fr ([37.59.142.104]) by ghost-submission-5b5ff79f4f-rrbh9 with ESMTPSA id utvKILqhK2eUhwAAyaLHaA (envelope-from ); Wed, 06 Nov 2024 17:04:58 +0000 X-OVh-ClientIp: 86.246.19.221 Date: Wed, 6 Nov 2024 18:04:28 +0100 Message-ID: <20241106170439.22888-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 11653908463056577250 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddvgdelgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeekffegteffgfffjeegjedvfffgtddvueeutefgfeeuvdejgedvgeejjeevueeuveenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeegtdehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=KOfIQMHh8iBcscdEBO25J5DsEKQ2fU80Z7zTzL2g3Ck=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730912699; v=1; b=dkBNruDaJ+8s5vByAtX6Ev6Qj3MH3ne3emByWyyyNLZPAXPhNYEdc4UqF5G3zXdl8i4cYM1o WxNRbZd/YDWJzsfSZjWt6leiOmHn7r9Eu/EpkUGTFY7sJFsW5cK9ggdeUHpO5Ws2hpG14IBqAAc LtZiOSCzSkMAS7AhymkHVBY6TMeHqZQQZ5cV3B/1dsthYowtWoWQf6McHE2w5NRA77len/G4/JB WTdpnStEBTYr25KuCHoeeCzXTU/Ke1Xnsqyip/VIKKPCUdS5AK+8oTz7XppYc0/lFKjzowHY130 xhvWktuEVsI26JYUhoLmgJ0b8IgTjUGiOS7NyC6bgmw+Q== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.06 X-Spam-Score: 1.06 X-Migadu-Queue-Id: A81A41A0A3 X-Migadu-Scanner: mx12.migadu.com X-TUID: +cnVziEwi9r9 * gnu/services/databases.scm (postgresql-configuration)[postgresql]: Set default to *no*. (postgresql-service): Revert default to postgresql-10 (rationale: We can remove this service at the same time than postgresql-10, in something like 6 months to a year). --- gnu/services/databases.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm index 0933eb5e79..05e2c5f996 100644 --- a/gnu/services/databases.scm +++ b/gnu/services/databases.scm @@ -167,8 +167,12 @@ (define contents (define-record-type* postgresql-configuration make-postgresql-configuration postgresql-configuration? + ;; Setting it to *no* ensures that the user sets its current postgresql + ;; explicitely. Since major upgrades currently require a manual migration + ;; of the database, this way the user is responsible for upgrading properly. + ;; MAYBE TODO: Write an action to automatically upgrade in Guix. (postgresql postgresql-configuration-postgresql ;file-like - (default postgresql)) + (default *no*)) (port postgresql-configuration-port (default 5432)) (locale postgresql-configuration-locale @@ -346,7 +350,7 @@ (define postgresql-service-type (default-value (postgresql-configuration)) (description "Run the PostgreSQL database server."))) -(define-deprecated (postgresql-service #:key (postgresql postgresql) +(define-deprecated (postgresql-service #:key (postgresql postgresql-10) (port 5432) (locale "en_US.utf8") (config-file (postgresql-config-file)) -- 2.46.0