Re: psql: add \pset true/false
От
Daniel Verite
Тема
Re: psql: add \pset true/false
Дата
Msg-id
4b12d3b1-5f26-49f8-9b90-a8ec5af4a023@mm
Ответ на
Re: psql: add \pset true/false (Michael Paquier)
Список
Дерево обсуждения
psql: add \pset true/false Marko Tiikkaja <marko@joh.to>
Re: psql: add \pset true/false "Daniel Verite" <daniel@manitou-mail.org>
Re: psql: add \pset true/false Marko Tiikkaja <marko@joh.to>
Re: psql: add \pset true/false Tom Lane <tgl@sss.pgh.pa.us>
Re: psql: add \pset true/false Peter Eisentraut <peter_e@gmx.net>
Re: psql: add \pset true/false Tom Lane <tgl@sss.pgh.pa.us>
Re: psql: add \pset true/false Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: psql: add \pset true/false Peter Eisentraut <peter_e@gmx.net>
Re: psql: add \pset true/false Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: psql: add \pset true/false Michael Paquier <michael.paquier@gmail.com>
Re: psql: add \pset true/false Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: psql: add \pset true/false Michael Paquier <michael.paquier@gmail.com>
Re: psql: add \pset true/false Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: psql: add \pset true/false Michael Paquier <michael.paquier@gmail.com>
Re: psql: add \pset true/false Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: psql: add \pset true/false Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: psql: add \pset true/false Pavel Stehule <pavel.stehule@gmail.com>
Re: psql: add \pset true/false Michael Paquier <michael.paquier@gmail.com>
Re: psql: add \pset true/false Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: psql: add \pset true/false Michael Paquier <michael.paquier@gmail.com>
Re: psql: add \pset true/false Michael Paquier <michael.paquier@gmail.com>
Re: psql: add \pset true/false Michael Paquier <michael.paquier@gmail.com>
Re: psql: add \pset true/false "Daniel Verite" <daniel@manitou-mail.org>
Re: psql: add \pset true/false Peter Eisentraut <peter_e@gmx.net>
Re: psql: add \pset true/false Peter Geoghegan <pg@heroku.com>
Re: psql: add \pset true/false Michael Paquier <michael.paquier@gmail.com>
Re: psql: add \pset true/false "Daniel Verite" <daniel@manitou-mail.org>
Re: psql: add \pset true/false Michael Paquier <michael.paquier@gmail.com>
Re: psql: add \pset true/false Marko Tiikkaja <marko@joh.to>
Re: psql: add \pset true/false Brendan Jurd <direvus@gmail.com>
Re: psql: add \pset true/false Matthijs van der Vleuten <matthijs@zr40.nl>
Re: psql: add \pset true/false Vik Fearing <vik@2ndquadrant.fr>
Re: psql: add \pset true/false "Daniel Verite" <daniel@manitou-mail.org>
Re: psql: add \pset true/false Pavel Stehule <pavel.stehule@gmail.com>
Re: psql: add \pset true/false "David G. Johnston" <david.g.johnston@gmail.com>
Re: psql: add \pset true/false "David G. Johnston" <david.g.johnston@gmail.com>
Re: psql: add \pset true/false Vik Fearing <vik@2ndquadrant.fr>
Re: psql: add \pset true/false Robert Haas <robertmhaas@gmail.com>
Re: psql: add \pset true/false Marko Tiikkaja <marko@joh.to>
Re: psql: add \pset true/false Robert Haas <robertmhaas@gmail.com>
Re: psql: add \pset true/false Matthijs van der Vleuten <matthijs@zr40.nl>
Re: psql: add \pset true/false "David G. Johnston" <david.g.johnston@gmail.com>
Re: psql: add \pset true/false Greg Stark <stark@mit.edu>
Re: psql: add \pset true/false Andres Freund <andres@anarazel.de>
Michael Paquier wrote:
> So, looking at this thread, here is the current status:
> - Tom Lane: -1
> - Michael Paquier: -1
> - Peter Geoghegan: +1?
> - Peter Eisentraut: +1
> - the author: surely +1.
> Any other opinions? Feel free to correct this list if needed, and then
> let's try to move on on a consensus if need be to decide the destiny
> of this patch.
In the positive case, the doc should warn somehow about the setting
not being effective when the boolean is inside:
- a field of ROW() type
- an array
- \copy or COPY output
- a field of composite type
(personally this list of exceptions makes me side with the "-1" team).
Other than that, minor typos to fix (s/prined/printed):
+ fprintf(output, _(" true set the string to be prined
in place of a TRUE value\n"));
+ fprintf(output, _(" false set the string to be prined
in place of a FALSE value\n"));
Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite
В списке pgsql-hackers по дате отправления