From: Pierre Neidhardt <mail@ambrevar.xyz>
To: 41786@debbugs.gnu.org
Subject: [bug#41786] [PATCH 1/2] services: postgresql: Provide postgresql commands.
Date: Tue, 28 Jul 2020 13:58:35 +0200 [thread overview]
Message-ID: <20200728115836.23440-1-mail@ambrevar.xyz> (raw)
In-Reply-To: <87tuxujz52.fsf@gmail.com>
* 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
next prev parent reply other threads:[~2020-07-28 12:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-10 9:31 [bug#41786] [PATCH] doc: Explain how to use psql with peer authentication Pierre Neidhardt
2020-07-25 19:11 ` Oleg Pykhalov
2020-07-26 10:18 ` Pierre Neidhardt
2020-07-26 11:26 ` Oleg Pykhalov
2020-07-28 11:58 ` Pierre Neidhardt [this message]
2020-07-28 11:58 ` [bug#41786] [PATCH 2/2] " Pierre Neidhardt
2020-07-28 18:02 ` Oleg Pykhalov
2020-08-01 10:03 ` Pierre Neidhardt
2020-07-28 11:59 ` [bug#41786] [PATCH] " Pierre Neidhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200728115836.23440-1-mail@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=41786@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).