Re: psql: add \pset true/false

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: psql: add \pset true/false
Дата
Msg-id CAM3SWZR4nqSjY8ZjcMQfcs9JvahQUobfZXTtbMp97Cn4Whn4kw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql: add \pset true/false  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: psql: add \pset true/false
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: psql: add \pset true/false
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] SQL function to report log message