From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kMdCFcFzH2eKigAA62LTzQ:P1 (envelope-from ) for ; Mon, 28 Oct 2024 11:21:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kMdCFcFzH2eKigAA62LTzQ (envelope-from ) for ; Mon, 28 Oct 2024 12:21:37 +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=n8UvLYi4; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=bULHRHGs; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730114497; 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=aDklrjzmLwPtio4Eydo9FRO+xug6xzki2yuAeqASQWs=; b=r7Jz85cMB0A72udWYztWUnTVG3k3+LYLvUyA/pJOweO/HuJE/I0PzHgoNIbnNS813pbVrK IcvNbGUHcH98wf9eXTtoobM2EauToPjYvgB6VbNwnDAkN9LQyrDSqqUZzGTQhvx1TMeqfN EvBvZf6dWpKrHNRdwW4mNglHjXV3epgUskBKMj+bjLrmgsgUnDAhhkOUS9dBiQcFcBRetf q4l7NUYefqG3RJJnQO6loY5ijhfba2WmCCUqEHd6v1zWSP295zv4cEPTMXl/9mC/LAT3X6 kbVhUywiUS5JvDIoKKyzdnCbuJJV62S4uq2jCk+wMBWbMBl3p3ReNAHKsRopbQ== 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=n8UvLYi4; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=bULHRHGs; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730114497; a=rsa-sha256; cv=none; b=JOyETSo7zk1VfFmcfNxQhvfZ6Rm5H2ynKdtJbB+o9VNdB7xpd1c8thpIngNNe+cMpnEWhU NHm8aPZcnM/tC/GPlBpqxtqyNgBa/2YrbH03BgKK+EESWgOTYI1KZVvEwZw75X3eGyQwJq OaLFVMlVlGhOMPF6MAYjvxLV8gVWKT9rdlGfsOsdbf2aFnTtKqFlsBhlnKLhGvLUTakT1N KhuqvAH7u6XXfQ6TSYtT21EyuL6TYgjT8NwAmZakBX+XpB67GT38Zlmhh+hFcMHo4+7ZR/ SERL4PCcn1nsL/DYJYQSDnuIvQSzmX879M83x0d1SaWwibeySmJTgRZeBk1XAg== 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 1FDBF825F5 for ; Mon, 28 Oct 2024 12:21:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5NoO-0003Si-6Q; Mon, 28 Oct 2024 07:21:28 -0400 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 1t5NoN-0003SZ-32 for guix-patches@gnu.org; Mon, 28 Oct 2024 07:21:27 -0400 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 1t5NoM-0004s2-RC for guix-patches@gnu.org; Mon, 28 Oct 2024 07:21:26 -0400 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=aDklrjzmLwPtio4Eydo9FRO+xug6xzki2yuAeqASQWs=; b=n8UvLYi4nR9y/WcCObuHN4sFm1J0GHt6k5271zg+Ht+5K+5D4nl98sUUe0WnmlhgA2vYEqFUI90mLlOpYcJf7W0fORoFL9XrZ62/qLnbV2k7GtVDh3osmqPYa9RV77LASbQbcp9+OzZx4PaOVjA589TNGUeWsR8NvriIjP+lEiL9FdWB/0H09LrF0QUt0y1qXwYU1Ab72ApABeG5HKHKwbwHq7Bh1WpsqSIOfIG54sWk1yT9pv0WxWZCsYSC6qRhF3+RpMcCU/4yzPd8pNtXqFJDBOIxQgkfUwwQ/v+txeZOSaJt/l7dqwkg6eFA5ERSCXMYgwYg/URRLrOuRzVrhA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5Now-0002ih-Px for guix-patches@gnu.org; Mon, 28 Oct 2024 07:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74058] [PATCH 1/2] gnu: postgresql-configuration: Set default postgresql to #f. 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: Mon, 28 Oct 2024 11:22: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.173011446810347 (code B ref 74058); Mon, 28 Oct 2024 11:22:02 +0000 Received: (at 74058) by debbugs.gnu.org; 28 Oct 2024 11:21:08 +0000 Received: from localhost ([127.0.0.1]:52742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5No3-0002gk-PJ for submit@debbugs.gnu.org; Mon, 28 Oct 2024 07:21:08 -0400 Received: from 9.mo581.mail-out.ovh.net ([46.105.60.248]:47171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5No1-0002ga-Ft for 74058@debbugs.gnu.org; Mon, 28 Oct 2024 07:21:06 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.2.55]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4XcWCH6m5mz1Mh9 for <74058@debbugs.gnu.org>; Mon, 28 Oct 2024 11:20:27 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-llldq (unknown [10.110.96.131]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1F1C11FFD7; Mon, 28 Oct 2024 11:14:03 +0000 (UTC) Received: from ngraves.fr ([37.59.142.97]) by ghost-submission-5b5ff79f4f-llldq with ESMTPSA id GQCtAPtxH2f9SAAAjYQwFA (envelope-from ); Mon, 28 Oct 2024 11:14:03 +0000 X-OVh-ClientIp: 89.85.243.20 Date: Mon, 28 Oct 2024 12:13:29 +0100 Message-ID: <20241028111340.17913-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 8214284247020135138 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeekffegteffgfffjeegjedvfffgtddvueeutefgfeeuvdejgedvgeejjeevueeuveenucfkphepuddvjedrtddrtddruddpkeelrdekhedrvdegfedrvddtpdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeegtdehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=aDklrjzmLwPtio4Eydo9FRO+xug6xzki2yuAeqASQWs=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730114428; v=1; b=bULHRHGswQFsR5w+1Fcko58lbDkKST2eCqvWjB8oaney6aMAOKWupE8Xdz592OXxeD+SAcOH nC1z/7BRBzCYwopGqNs9Z2A32a4j9V4BMvckd9MNAdf0w9DRH/h3UucOoNvuh0Fhxpumun4mVc4 +EmfIQK7A9poCghZYcqTPQfSnBLgrsSs+7LJADwN+7lqPqrewWAJYWdl0kGHIdHP6oCiARYgQjV Tvb2punAJyFrIzqmUg4RrIy15h6Nx7zVFnWyIn3UAWWlbc5XarajBtMZDdFWdtqhFHFUUtVQUDv 62/uqsZ1UjRwwSR+WvXPsBepoO8NgCvamv0zMvKEXkdqg== 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.53 X-Spam-Score: 0.53 X-Migadu-Queue-Id: 1FDBF825F5 X-TUID: 3K4RXEDZEzMp * gnu/services/databases.scm (postgresql-configuration)[postgresql]: Set default to #f. (postgresql-services): 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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm index 0933eb5e79..f8ae085339 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? - (postgresql postgresql-configuration-postgresql ;file-like - (default postgresql)) + ;; Setting it to #f 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 or #f + (default #f)) (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