From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eEIhBr70LGfOEgEAe85BDQ:P1 (envelope-from ) for ; Thu, 07 Nov 2024 17:11:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eEIhBr70LGfOEgEAe85BDQ (envelope-from ) for ; Thu, 07 Nov 2024 18:11:26 +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=MWEFYhs9; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=C1e5F0ry; 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=1730999486; 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=d397G4RzClsbzTvJwS3qsAVurZn0sXDCKeOL48wAsoFFmcLXLqz67y3b1uQ7+MogZ7v/ld vgJi+3Os9RlSjTi77/mPHwSjrmttaBBlSXK1n9cQHs8m8RAgxEIcR2T/KmL1kxQ5it9UWm TPxVRMJ9gaV/YZ378xv07/lqzMA8TpsvlnCRHlWf2SgJSyJuRz6Ir38PyA7G7aoZcRgwGo +9G+glXfAhcg7vO0chZBgf2mi9Vbt5g0SomBaBsJ86iXd9o0X8IYJjky0PenJkFbjxTllO WSfzL5fX2VmzaA2F/D0V4x6QCTeQnsC3HZ1y0SaTA1YNruP8txlLJwL9co25EA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730999486; a=rsa-sha256; cv=none; b=RrwTRQm+TwV+TFlOXXnJukEe9EyNhgY3Q3lTuY07ughPCvyiaub4Elv/jVjlGMQ9jQih3F xtuwxSI+4klxvmTsqIhKIW8/KgAy5joW4JojW8lRYjAMBeyXJsH7+mFV3G16GXwguB8CR4 gF/w2dabC1yPlJQefPc5pWjAmPecNRf9Kj2TMXSYJ7xwSJelLmE9nEp+pii3Uqmk27IckT KoPm3PIGuC0DQW7ccmCC8+g2uyrxjdfraZHmWOCV7Q0c+z56e8RG0XFKOIF64OEp2O7EfJ JtaTYMewm1c3LFKz8tbmYYMu5DpmdDFLmRyCc+CUlAQqSxcUscf0DsyDWsfRaQ== 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=MWEFYhs9; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=C1e5F0ry; 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 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 A472F5E877 for ; Thu, 07 Nov 2024 18:11:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t962D-0003cU-9f; Thu, 07 Nov 2024 12:11: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 1t962C-0003cJ-3n for guix-patches@gnu.org; Thu, 07 Nov 2024 12:11: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 1t962B-0002Td-Nl for guix-patches@gnu.org; Thu, 07 Nov 2024 12:11: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=32KFITK/8yxrApGcEbFuYWy1u4dPYlM+r6xWmyMcKcc=; b=MWEFYhs9rAUHdywqy/NqZR9C22djesJdVRmVuOHqfeSuxVC7Zr3KQoASvDglWUdukvT7HU6Z6WHliraBw13R6dfNXbnBBLTUVA5/DYJgGOjqQUk9E0yI4C0cAxTbTFd0DtXsb0ygkG9hRS0v4UkUdNWuq027kzyaBHAQX5Wm4sFkdGbItNLS9Xi+QIWnnGKSYePqfZpnIQPN1OMt9LVqYz+9YXFuxeAH3GXw6nndtZmGVWzCI8Ylt2PxY3LxAPSeJ2sWV95I0IYaK4Fc0zH48A4m6CUM+feHFy5QqyElAmeponP510Dlt+vLPvY6dIJDKwl9N4PfbryRVptMs/Ct8w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t962B-0001Ja-AK for guix-patches@gnu.org; Thu, 07 Nov 2024 12:11:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74058] [PATCH v3 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: Thu, 07 Nov 2024 17:11:03 +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.17309994174834 (code B ref 74058); Thu, 07 Nov 2024 17:11:03 +0000 Received: (at 74058) by debbugs.gnu.org; 7 Nov 2024 17:10:17 +0000 Received: from localhost ([127.0.0.1]:49427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t961Q-0001Fj-VG for submit@debbugs.gnu.org; Thu, 07 Nov 2024 12:10:17 -0500 Received: from 12.mo582.mail-out.ovh.net ([178.32.125.228]:53913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t961M-0001Bx-9G for 74058@debbugs.gnu.org; Thu, 07 Nov 2024 12:10:15 -0500 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.25.169]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4XkpVB44Fjz1SLD for <74058@debbugs.gnu.org>; Thu, 7 Nov 2024 17:10:10 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-jfdqd (unknown [10.110.188.136]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id ECE281FD41; Thu, 7 Nov 2024 17:10:09 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-5b5ff79f4f-jfdqd with ESMTPSA id SFRyF3H0LGeiRwEANhF84w (envelope-from ); Thu, 07 Nov 2024 17:10:09 +0000 X-OVh-ClientIp: 80.215.103.88 Date: Thu, 7 Nov 2024 18:09:59 +0100 Message-ID: <20241107171006.14868-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 17614141093378384610 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtdeggdeliecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeekffegteffgfffjeegjedvfffgtddvueeutefgfeeuvdejgedvgeejjeevueeuveenucfkphepuddvjedrtddrtddruddpkedtrddvudehrddutdefrdekkedpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeegtdehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=32KFITK/8yxrApGcEbFuYWy1u4dPYlM+r6xWmyMcKcc=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730999410; v=1; b=C1e5F0ryHxdzmMtn96gAW3vjaAcemJPJ8f2i8EWZdqMjJO5+872LpPmRnczrQI/diFrjCoUr oTqDj2xraVHSAqP1RzoZHmFho/7KJm5iFRqA/q26HjfLb/69GaLX+B4g9pJ0f7sc/ZYFmhMNqLN rvk6MC9e0nmRfiqEVWM68FFFYw9NZfCet4Gld4aFxF43kjm9dzzCVfv1SHRtLbdv6A2wbEDHDoA WmPnFMz0jQez92XihslZbvMWOdlvPMLCVuIW1G+oZkuRW/2tCJLdSl/PwuslmItUyZE6k9NzS5M 7LmRWzLCDvr/XRSR6pQ7DolKgvrA6eCGKopTVszu6y/7g== 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: -2.66 X-Spam-Score: -2.66 X-Migadu-Queue-Id: A472F5E877 X-Migadu-Scanner: mx13.migadu.com X-TUID: 34ux37X/4zRq * 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