pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add \pset options for boolean value display
Date: Mon, 03 Nov 2025 16:42:00 +0000
Message-ID: <E1vFxd2-004rF1-1w@gemulon.postgresql.org> (raw)

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.G.Johnston@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.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(-)



Message-ID: <E1vFxd2-004rF1-1w@gemulon.postgresql.org>
Permalink:  ../E1vFxd2-004rF1-1w@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vFxd2-004rF1-1w@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add \pset options for boolean value display
  In-Reply-To: <E1vFxd2-004rF1-1w@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox