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 EJWCCnvjL2c1VQAAqHPOHw:P1 (envelope-from ) for ; Sat, 09 Nov 2024 22:34:35 +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 EJWCCnvjL2c1VQAAqHPOHw (envelope-from ) for ; Sat, 09 Nov 2024 23:34:35 +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=BIeXCDfD; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=bsmiqxpE; 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=1731191675; a=rsa-sha256; cv=none; b=A2iuPBj6hBXtx5g/70xTHMt2+dkiv4lWBP8aZpoXWSn9Du3pZBvHf4qnYqETznb1Xio9Yu m41i/LdKobaOGrH9jBaN6DXrZMzGbcSOsqCm3dRpE0duILHYDkhkPQHUjMzG0fx6ismkgn sRB60r6MIpCdDTAeqXVb9qBYb2OsfvGX7HmSB2hnTbBAN7a4BSmOsjYZgcmbcBA0r8o48g wUyfLMLXz+EnmsWNIpb3KsFHJLxoV+d4dJoFj2PMn5pzhDjoQ916lpqvcs8YrsM03AdDoP X7guRmu1rurWxO1AdtUew1TIoBRhUC0m8mObUlyoX9jm8kzBBQGgW7CpVcUoHg== 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=BIeXCDfD; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=bsmiqxpE; 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=1731191675; 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=32KFITK/8yxrApGcEbFuYWy1u4dPYlM+r6xWmyMcKcc=; b=sS4DGLGL+cd6LLm7m5OjbN1CcsGPRUspUH6QOHyp9ZwtIJBDPBFMCvvF3iLoPlb7JVkOlD LJWks4iV+3Oeaw7JpGzJEd+WLXcio0lLLLJws5JRcHqzp/pul5TRgKMt7ekVHSleMTR/ez I+kKEXF8bL2vUh3ES+l9pgL4xjbnPvfsvyTAupe7d7n5Frijg6o7sxbGVCuIc3YqRJKOas O0++gk1SuBjHna7bQ1TSeVcATernoX6ygxtJhf9qkvteteRof7Z/+dvK/jJYGNrpKpnBKv pplmdEx37bxestKRosx0CHO97JDcGLQ0SBc52bQv79ulp7qZi7/rQl9RQ1v1fA== 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 0A31B80845 for ; Sat, 09 Nov 2024 23:34:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9tsD-0000oD-Hz; Sat, 09 Nov 2024 17:24: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 1t9tsB-0000nu-5v for guix-patches@gnu.org; Sat, 09 Nov 2024 17:24:04 -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 1t9tsA-0001wx-TD for guix-patches@gnu.org; Sat, 09 Nov 2024 17:24:02 -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=32KFITK/8yxrApGcEbFuYWy1u4dPYlM+r6xWmyMcKcc=; b=BIeXCDfDXn4WaZdTwHFeb1tQSdgA6/nnv6g2u02FHeGNeWsfsoB0yqfpi3y1jQpFirL4w3tvqwl1ZBis7OpoCfVdjzlM/MpbYcHZ2WalG99bYfuayzaTI75kfOazxLDDwmPRWeNJjbpSH+E5I32H+8Bu4U0AzChsRiYRs9BUe2mdK2bGJMkbmN4sxNdTtRcZhQuRFo5n5iliHvwePESfYJK5VOFPZFWhVLwL/n8fUNWdM4Y3qZ17lPCpoLhOHyjNf3EQwHXcV22znMu4LId1ZW32HniDx6dz753tm6GMEEDmaYzkHj8ZXT/5qSYzQ5HFDTRN0+sISV0aK3YNNuYItg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9ts9-0002mQ-Q3 for guix-patches@gnu.org; Sat, 09 Nov 2024 17:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74058] [PATCH v4 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: Sat, 09 Nov 2024 22:24:01 +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.173119103710670 (code B ref 74058); Sat, 09 Nov 2024 22:24:01 +0000 Received: (at 74058) by debbugs.gnu.org; 9 Nov 2024 22:23:57 +0000 Received: from localhost ([127.0.0.1]:54755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9ts5-0002m0-Br for submit@debbugs.gnu.org; Sat, 09 Nov 2024 17:23:57 -0500 Received: from 15.mo584.mail-out.ovh.net ([91.121.62.11]:56613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9ts0-0002lh-Uw for 74058@debbugs.gnu.org; Sat, 09 Nov 2024 17:23:55 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.140.75]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 4Xm9MC396Lz1LJk for <74058@debbugs.gnu.org>; Sat, 9 Nov 2024 22:23:51 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-lpfn6 (unknown [10.110.96.185]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id BC0A21FEA9; Sat, 9 Nov 2024 22:23:50 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-5b5ff79f4f-lpfn6 with ESMTPSA id zjRPHfbgL2e1LQAAYM1KBw (envelope-from ); Sat, 09 Nov 2024 22:23:50 +0000 X-OVh-ClientIp: 90.92.117.144 Date: Sat, 9 Nov 2024 23:23:34 +0100 Message-ID: <20241109222341.18811-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 16210425387683341026 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtdekgdduiedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejgedtheekseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=32KFITK/8yxrApGcEbFuYWy1u4dPYlM+r6xWmyMcKcc=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1731191031; v=1; b=bsmiqxpEQpDTOX8TmkNXupd65sDdXYBAzU7uowQmIplXz8e4/dMuyyak7ciLvtpYKxPmm2Ug ENolwAvvWiJ5Vccq1mU8svEWQNZwtVRjEHDeQok8le4Ng4V1YL8FlDgLIkyMp4N4zNiNLzKhsGB T8bSGVdMm1D/kleXa+o8i0mLWhoRv1beYOFVKXU4wych0/lEonQXp1FkhyJn1HyhMzpEo0bRRdz HsQ8RRqt/bxK2ezL2NxfyBmi7o1OUMoRgnMJTcPQrFnhuYGBRy6sbeM6EDRtOePqaCE7pQB9YC8 3hpZMgiISwGt4+CuCRTStfLHmbDB2yqQ1xGSS6JzLuDlw== 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.08 X-Spam-Score: 1.08 X-Migadu-Queue-Id: 0A31B80845 X-Migadu-Scanner: mx12.migadu.com X-TUID: ynD9gjnAF+FG * 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..c499356c3a 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