Re: Add \pset options for boolean value display

David G. Johnston <david.g.johnston@gmail.com>

From: "David G. Johnston" <david.g.johnston@gmail.com>
To: "a.kozhemyakin" <a.kozhemyakin@postgrespro.ru>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-21T06:30:40Z
Lists: pgsql-hackers
On Monday, April 20, 2026, a.kozhemyakin <a.kozhemyakin@postgrespro.ru>
wrote:
>
> The following script, when built with addresssanitizer, fails with a
> DoubleFree error. reproduce on master (d3bba0415435)
>

Thanks for the report.  To be honest, I’m not sure where to start debugging
it - but I plan to give it a go.  I’m curious if it fails for “\pset null
‘N’” “\g (null=csv)” too and I just got bit by inheriting its layout.
Don’t see why these new ones would be different.

David J.

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. psql: save/restore truePrint/falsePrint printQueryOpt values

  2. Add \pset options for boolean value display