Re: psql: add \pset true/false

From: Marko Tiikkaja <marko(at)joh(dot)to>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: PostgreSQL hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql: add \pset true/false
Date: 2015-10-29 11:02:07
Message-ID: 5631FCAF.9060204@joh.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-10-29 11:03:41 Re: [ADMIN] Replication slots and isolation levels
Previous Message Daniel Verite 2015-10-29 10:51:04 Re: psql: add \pset true/false