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

From Daniel Verite
Subject Re: psql: add \pset true/false
Date
Msg-id 4b12d3b1-5f26-49f8-9b90-a8ec5af4a023@mm
Whole thread Raw
In response to Re: psql: add \pset true/false  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
    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 by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: Foreign join pushdown vs EvalPlanQual
Next
From: Amit Kapila
Date:
Subject: Re: Parallel Seq Scan