From 645cb44c5490f70da4dca57b8ecca6562fb883a7 Mon Sep 17 00:00:00 2001 From: Álvaro Herrera Date: Mon, 3 Nov 2025 17:40:39 +0100 Subject: Add \pset options for boolean value display MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New \pset variables display_true and display_false allow the user to change how true and false values are displayed. Author: David G. Johnston Reviewed-by: Álvaro Herrera Discussion: https://postgr.es/m/CAKFQuwYts3vnfQ5AoKhEaKMTNMfJ443MW2kFswKwzn7fiofkrw@mail.gmail.com Discussion: https://postgr.es/m/56308F56.8060908@joh.to --- doc/src/sgml/ref/psql-ref.sgml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 84683f62b1c..7e96a8e1ddb 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -3099,6 +3099,26 @@ SELECT $1 \parse stmt1 + + display_false + + + Sets the string to be printed in place of a false value. + The default is to print f. + + + + + + display_true + + + Sets the string to be printed in place of a true value. + The default is to print t. + + + + expanded (or x) -- cgit v1.2.3