From patchwork Mon Oct 19 19:02:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 24696 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 046C427BBEE; Mon, 19 Oct 2020 20:04:29 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CB1CA27BBED for ; Mon, 19 Oct 2020 20:04:28 +0100 (BST) Received: from localhost ([::1]:60736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUaSJ-0001HK-SP for patchwork@mira.cbaines.net; Mon, 19 Oct 2020 15:04:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUaRv-0001DE-EF for guix-patches@gnu.org; Mon, 19 Oct 2020 15:04:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUaRv-00011B-5G for guix-patches@gnu.org; Mon, 19 Oct 2020 15:04:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUaRv-0008GJ-10 for guix-patches@gnu.org; Mon, 19 Oct 2020 15:04:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43771] [PATCH v2 4/5] gnu: databases: Define postgresql-10. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Oct 2020 19:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43771 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43771@debbugs.gnu.org Received: via spool by 43771-submit@debbugs.gnu.org id=B43771.160313419431636 (code B ref 43771); Mon, 19 Oct 2020 19:04:02 +0000 Received: (at 43771) by debbugs.gnu.org; 19 Oct 2020 19:03:14 +0000 Received: from localhost ([127.0.0.1]:42433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUaR8-0008EB-7t for submit@debbugs.gnu.org; Mon, 19 Oct 2020 15:03:14 -0400 Received: from mira.cbaines.net ([212.71.252.8]:34606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUaQw-0008DD-KC for 43771@debbugs.gnu.org; Mon, 19 Oct 2020 15:03:03 -0400 Received: from localhost (188.28.126.178.threembb.co.uk [188.28.126.178]) by mira.cbaines.net (Postfix) with ESMTPSA id 2407E27BBF1 for <43771@debbugs.gnu.org>; Mon, 19 Oct 2020 20:03:02 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 65b3ef86 for <43771@debbugs.gnu.org>; Mon, 19 Oct 2020 19:02:59 +0000 (UTC) From: Christopher Baines Date: Mon, 19 Oct 2020 20:02:58 +0100 Message-Id: <20201019190259.11356-4-mail@cbaines.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201019190259.11356-1-mail@cbaines.net> References: <87lfgl3wb7.fsf@gnu.org> <20201019190259.11356-1-mail@cbaines.net> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches So that it can be used, rather than postgresql. Because the major version of the package is important, as it relates to the compatability with the data files used by the service, it's useful to have a stable name to refer to a package for version 10 of PostgreSQL. * gnu/packages/databases.scm (postgresql-10): New variable. --- gnu/packages/databases.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 1236f57018..0d8342b04a 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1040,6 +1040,8 @@ TIMESTAMP. It also supports storage of binary large objects, including pictures, sounds, or video.") (license (license:x11-style "file://COPYRIGHT")))) +(define-public postgresql-10 postgresql) + (define-public postgresql-11 (package (inherit postgresql)