Add \pset options for boolean value display
Álvaro Herrera <alvherre@kurilemu.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/psql-ref.sgml | modified | +20 −0 |
| src/bin/psql/command.c | modified | +40 −1 |
| src/bin/psql/help.c | modified | +7 −3 |
| src/bin/psql/tab-complete.in.c | modified | +2 −1 |
| src/fe_utils/print.c | modified | +4 −0 |
| src/include/fe_utils/print.h | modified | +2 −0 |
| src/test/regress/expected/psql.out | modified | +32 −0 |
| src/test/regress/sql/psql.sql | modified | +16 −0 |
Discussion
- psql: add \pset true/false 44 messages · 2015-10-28 → 2015-12-10
- Add \pset options for boolean value display 22 messages · 2025-03-21 → 2026-05-12