Re: [PATCH] Add support for displaying database service in psql prompt
Michael Banck <mbanck@gmx.net>
From: Michael Banck <mbanck@gmx.net>
To: Michael Paquier <michael@paquier.xyz>
Cc: Greg Sabino Mullane <htamfids@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-12-16T21:57:49Z
Lists: pgsql-hackers
Attachments
- v2-0001-Add-PQservice-to-PGConn.patch (text/x-diff)
Hi Michael, On Tue, Dec 10, 2024 at 04:38:24PM +0900, Michael Paquier wrote: > On Thu, Nov 28, 2024 at 09:17:23PM +0100, Michael Banck wrote: > > On Tue, Nov 19, 2024 at 07:47:58PM -0500, Greg Sabino Mullane wrote: > > > Compiled and tested: works fine, so +1 from me. Honestly, I was surprised > > > %s was still available. :) > > > > Thanks. Was that full review? You kept the commitfest item in "Needs > > Review" state. > > No objections to this proposal, that can be useful. No objections > with the use of 's' for the shortcut in the psql prompt. Cool. > Back to your patch, you are missing two things at quick glance: > - Documentation for the new libpq API in 0001. > - Documentation for the new SERVICE and its new %s (see section called > "Prompting" on the psql page. > > So please make sure to provide these with the next version of the > patch. Thanks, I have added the documentation now in v2. Michael
Commits
-
libpq: Remove PQservice()
- fc3edb52fbb9 18.0 landed
- fef6da9e9c87 19 (unreleased) landed
-
psql: Add more information about service name
- 477728b5d6fa 18.0 landed
-
libpq: Add service name to PGconn and PQservice()
- 4b99fed7541e 18.0 cited