Re: [PATCH] Add support for displaying database service in psql prompt

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Michael Banck <mbanck(at)gmx(dot)net>
Cc: Greg Sabino Mullane <htamfids(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Add support for displaying database service in psql prompt
Date: 2024-12-10 07:38:24
Message-ID: Z1fv8D_t1ok8svgO@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Anton A. Melnikov 2024-12-10 07:44:29 Re: shared-memory based stats collector - v70
Previous Message Michael Paquier 2024-12-10 07:30:19 Re: Inconsistent output handling in 002_pg_upgrade.pl test logs