Re: Add %x to PROMPT1 and PROMPT2

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Michael Paquier <michael@paquier.xyz>
Cc: Vik Fearing <vik.fearing@2ndquadrant.com>, Fabien COELHO <coelho@cri.ensmp.fr>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-02-03T12:40:48Z
Lists: pgsql-hackers
> On 3 Feb 2020, at 08:08, Michael Paquier <michael@paquier.xyz> wrote:

> FWIW, I am not really in favor of changing a default old enough that
> it could vote (a45195a).

That by itself doesn't seem a good reason to not change things.

My concern would be that users who have never ever considered that the prompt
can be changed, all of sudden wonder why the prompt is showing characters it
normally isn't, thus causing confusion.  That being said, I agree that this is
a better default long-term.

cheers ./daniel


Commits

  1. Add %x to default PROMPT1 and PROMPT2 in psql