Re: [PATCH] Add support for displaying database service in psql prompt
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Michael Banck <mbanck@gmx.net>
Cc: Greg Sabino Mullane <htamfids@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-12-10T07:38:24Z
Lists: pgsql-hackers
On Thu, Nov 28, 2024 at 09:17:23PM +0100, Michael Banck wrote: > Hi, > > 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. 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. -- 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