Re: psql: add \pset true/false - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: psql: add \pset true/false
Date
Msg-id CAM3SWZR4nqSjY8ZjcMQfcs9JvahQUobfZXTtbMp97Cn4Whn4kw@mail.gmail.com
Whole thread Raw
In response to Re: psql: add \pset true/false  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql: add \pset true/false  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On Thu, Nov 12, 2015 at 1:09 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> Plus we already have \pset numericlocale as a similar feature in psql.
>
> But \pset numericlocale is also a crock.  It doesn't affect COPY output
> for instance, and its ability to identify which data types it should apply
> to is really shaky.  And it's virtually unused, as demonstrated by the
> fact that serious bugs in it went undetected for many years (cf 4778a0bda,
> 77130fc14).  That's a really poor advertisement for the usefulness of the
> proposed feature.

FWIW, I didn't realize that we had "\pset numericlocale" until about a
year ago. I now use it all the time, and find it very useful.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: psql: add \pset true/false
Next
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] SQL function to report log message