From: Vik Fearing <vik@2ndquadrant.fr>
To: Marko Tiikkaja <marko@joh.to>
To: PostgreSQL hackers <pgsql-hackers@postgresql.org>
Subject: Re: psql: add \pset true/false
Date: Thu, 12 Nov 2015 16:11:27 +0100
Message-ID: <5644AC1F.8080005@2ndquadrant.fr> (raw)
In-Reply-To: <56308F56.8060908@joh.to>
References: <56308F56.8060908@joh.to>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: vik@2ndquadrant.fr, marko@joh.to
Subject: Re: psql: add \pset true/false
In-Reply-To: <5644AC1F.8080005@2ndquadrant.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox