Re: Fix \crosstabview to honor \pset display_true/display_false

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: Chao Li <li.evan.chao@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>, Bruce Momjian <bmomjian@gmail.com>
Date: 2026-06-20T10:32:20Z
Lists: pgsql-hackers
On 2026-Jun-19, David G. Johnston wrote:

> Chao's decision to include the row and column headers makes more sense to
> me.  The promise of this feature is that the visual output of booleans as
> t/f should go away if the user chooses to make use of these
> local variables.  While we may not be able get them all (e.g.,
> composites and arrays) doing so here is trivial to accomplish.

OK.  TBH that part seemed a bit over the top to me, but that wasn't a
very strongly held opinion.  I'll put that back and push soonish.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"La gente vulgar sólo piensa en pasar el tiempo;
el que tiene talento, en aprovecharlo"



Commits

  1. Make crosstabview honor boolean/null display settings