Re: psql: add \pset true/false - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: psql: add \pset true/false
Date
Msg-id 5631FCAF.9060204@joh.to
Whole thread Raw
In response to Re: psql: add \pset true/false  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: psql: add \pset true/false  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 10/29/15 11:51 AM, Daniel Verite wrote:
>     Marko Tiikkaja wrote:
>
>> 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:
>
> Personally I think it would be worth having, but how about
> booleans inside ROW() or composite types ?

There's not enough information sent over to do that in the client.

Note that this works the same way as  \pset null  with  SELECT 
ROW(NULL), so I don't consider it a show stopper for the patch.


.m



pgsql-hackers by date:

Previous
From: "Daniel Verite"
Date:
Subject: Re: psql: add \pset true/false
Next
From: Michael Paquier
Date:
Subject: Re: [ADMIN] Replication slots and isolation levels