From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oDxqNlETIF/TLAAA0tVLHw (envelope-from ) for ; Tue, 28 Jul 2020 12:00:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MHRgMlETIF83fgAAB5/wlQ (envelope-from ) for ; Tue, 28 Jul 2020 12:00:17 +0000 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 A639F9408FE for ; Tue, 28 Jul 2020 12:00:17 +0000 (UTC) Received: from localhost ([::1]:40202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0OHI-00055O-JB for larch@yhetil.org; Tue, 28 Jul 2020 08:00:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0OH6-00053I-FX for guix-patches@gnu.org; Tue, 28 Jul 2020 08:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0OH6-0005Np-4c for guix-patches@gnu.org; Tue, 28 Jul 2020 08:00:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k0OH4-0002Ew-Ue for guix-patches@gnu.org; Tue, 28 Jul 2020 08:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41786] [PATCH 1/2] services: postgresql: Provide postgresql commands. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jul 2020 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41786 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41786@debbugs.gnu.org Received: via spool by 41786-submit@debbugs.gnu.org id=B41786.15959375438493 (code B ref 41786); Tue, 28 Jul 2020 12:00:02 +0000 Received: (at 41786) by debbugs.gnu.org; 28 Jul 2020 11:59:03 +0000 Received: from localhost ([127.0.0.1]:57482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0OG7-0002Ct-5i for submit@debbugs.gnu.org; Tue, 28 Jul 2020 07:59:03 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:57743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0OG5-0002CH-H4 for 41786@debbugs.gnu.org; Tue, 28 Jul 2020 07:59:02 -0400 X-Originating-IP: 86.246.37.13 Received: from localhost.localdomain (lfbn-idf2-1-572-13.w86-246.abo.wanadoo.fr [86.246.37.13]) (Authenticated sender: mail@ambrevar.xyz) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 211F51BF204 for <41786@debbugs.gnu.org>; Tue, 28 Jul 2020 11:58:53 +0000 (UTC) From: Pierre Neidhardt Date: Tue, 28 Jul 2020 13:58:35 +0200 Message-Id: <20200728115836.23440-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.27.0 In-Reply-To: <87tuxujz52.fsf@gmail.com> References: <87tuxujz52.fsf@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.2 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: ihlBxs3SNL5E * gnu/services/databases.scm (postgresql-service-type): Extend profile-service-type to provide postgresql commands. --- gnu/services/databases.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm index 473ece4e97..2bddf70f71 100644 --- a/gnu/services/databases.scm +++ b/gnu/services/databases.scm @@ -276,7 +276,9 @@ host all all ::1/128 md5")) (service-extension activation-service-type postgresql-activation) (service-extension account-service-type - (const %postgresql-accounts)))) + (const %postgresql-accounts)) + (service-extension profile-service-type + (compose list postgresql-configuration-postgresql)))) (default-value (postgresql-configuration)))) (define* (postgresql-service #:key (postgresql postgresql) base-commit: 64e8f2ec2dc6301019a5b93a82787ea6adaf8c76 -- 2.27.0