Re: Add \pset options for boolean value display - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: Add \pset options for boolean value display
Date
Msg-id CAKFQuwYWdocoCsfDOZhY2xALM1U89O4bP=Ou266pAOdVojgpfw@mail.gmail.com
Whole thread Raw
In response to Re: Add \pset options for boolean value display  (Álvaro Herrera <alvherre@kurilemu.de>)
Responses Re: Add \pset options for boolean value display
Re: Add \pset options for boolean value display
List pgsql-hackers
On Monday, October 20, 2025, Álvaro Herrera <alvherre@kurilemu.de> wrote:
On 2025-Jun-24, David G. Johnston wrote:

> v1, Ready aside from bike-shedding the name.

Here's v2 after some kibitzing.  What do you think?

Thank you.  Seems good from a quick read.  I’m regretting the choice of the display_ prefix; is there any technical limitation or other opposition to using just true and false?

\pset true ‘true’
\pset false ‘false’

To keep in line with:

\pset null ‘(null)’

David J.

pgsql-hackers by date:

Previous
From: Dimitrios Apostolou
Date:
Subject: Re: [PING] [PATCH v2] parallel pg_restore: avoid disk seeks when jumping short distance forward
Next
From: Nathan Bossart
Date:
Subject: Re: abi-compliance-check failure due to recent changes to pg_{clear,restore}_{attribute,relation}_stats()