| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add \pset options for boolean value display |
| Date: | 2025-11-03 16:42:00 |
| Message-ID: | E1vFxd2-004rF1-1w@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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 <David(dot)G(dot)Johnston(at)gmail(dot)com>
Reviewed-by: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Discussion: https://postgr.es/m/CAKFQuwYts3vnfQ5AoKhEaKMTNMfJ443MW2kFswKwzn7fiofkrw@mail.gmail.com
Discussion: https://postgr.es/m/56308F56.8060908@joh.to
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/645cb44c5490f70da4dca57b8ecca6562fb883a7
Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 20 +++++++++++++++++++
src/bin/psql/command.c | 41 +++++++++++++++++++++++++++++++++++++-
src/bin/psql/help.c | 10 +++++++---
src/bin/psql/tab-complete.in.c | 3 ++-
src/fe_utils/print.c | 4 ++++
src/include/fe_utils/print.h | 2 ++
src/test/regress/expected/psql.out | 32 +++++++++++++++++++++++++++++
src/test/regress/sql/psql.sql | 16 +++++++++++++++
8 files changed, 123 insertions(+), 5 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Masahiko Sawada | 2025-11-03 18:35:06 | pgsql: Fix outdated comment of COPY in gram.y. |
| Previous Message | Álvaro Herrera | 2025-11-03 14:59:08 | pgsql: Prevent setting a column as identity if its not-null constraint |