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

From Álvaro Herrera
Subject Re: Add \pset options for boolean value display
Date
Msg-id 202510202105.7hm2cy2m6qye@alvherre.pgsql
Whole thread Raw
In response to Re: Add \pset options for boolean value display  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Add \pset options for boolean value display
List pgsql-hackers
On 2025-Oct-20, David G. Johnston wrote:

> 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)’

Uhm.  I don't know.  No technical limitation AFAICS.  It looks a bit
weird to me, because those names are so generic; but also I cannot
really object to them.  That said, such a last-minute bikeshed comment
seems like a perfect way to kill your patch.

I'll gladly take a vote.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"On the other flipper, one wrong move and we're Fatal Exceptions"
(T.U.X.: Term Unit X  - http://www.thelinuxreview.com/TUX/)



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Can we make pg_strcasecmp(), pg_tolower(), pg_toupper() plain ASCII semantics?
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: Speed up COPY FROM text/CSV parsing using SIMD