From: | Vik Fearing <vik(at)2ndquadrant(dot)fr> |
---|---|
To: | Marko Tiikkaja <marko(at)joh(dot)to>, PostgreSQL hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: psql: add \pset true/false |
Date: | 2015-11-12 15:11:27 |
Message-ID: | 5644AC1F.8080005@2ndquadrant.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2015-11-12 15:23:09 | Re: Parallel Seq Scan |
Previous Message | Tom Lane | 2015-11-12 14:39:00 | Re: LLVM miscompiles numeric.c access to short numeric var headers |