Re: psql: add \pset true/false
Vik Fearing <vik@2ndquadrant.fr>
From: Vik Fearing <vik@2ndquadrant.fr>
To: Marko Tiikkaja <marko@joh.to>,
PostgreSQL hackers <pgsql-hackers@postgresql.org>
Date: 2015-11-12T15:11:27Z
Lists: pgsql-hackers
On 10/28/2015 10:03 AM, Marko Tiikkaja wrote: > Hello hello, > > Since the default t/f output for booleans is not very user friendly, > attached is a patch which enables you to do for example the following: > > =# \pset true TRUE > Boolean TRUE display is "TRUE". > =# \pset false FALSE > Boolean FALSE display is "FALSE". > =# select true, false; > bool | bool > ------+------- > TRUE | FALSE > (1 row) I think the battle is already lost, but I'm casting my vote in favor of this patch anyway. -- Vik Fearing +33 6 46 75 15 36 http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
Commits
-
Add \pset options for boolean value display
- 645cb44c5490 19 (unreleased) landed