Add \pset options for boolean value display
authorÁlvaro Herrera <[email protected]>
Mon, 3 Nov 2025 16:40:39 +0000 (17:40 +0100)
committerÁlvaro Herrera <[email protected]>
Mon, 3 Nov 2025 16:40:39 +0000 (17:40 +0100)
commit645cb44c5490f70da4dca57b8ecca6562fb883a7
tree3e001783223f4a99484bdfdd7b2995e48a163228
parentcf8be022538937fe9fe22de776fb8cfe6460a784
Add \pset options for boolean value display

New \pset variables display_true and display_false allow the user to
change how true and false values are displayed.

Author: David G. Johnston <[email protected]>
Reviewed-by: Álvaro Herrera <[email protected]>
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
src/bin/psql/command.c
src/bin/psql/help.c
src/bin/psql/tab-complete.in.c
src/fe_utils/print.c
src/include/fe_utils/print.h
src/test/regress/expected/psql.out
src/test/regress/sql/psql.sql