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

From Andres Freund
Subject Re: psql: add \pset true/false
Date
Msg-id 20151028234256.GM29811@alap3.anarazel.de
Whole thread Raw
In response to Re: psql: add \pset true/false  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
On 2015-10-28 23:38:45 +0000, Greg Stark wrote:
> On Wed, Oct 28, 2015 at 10:52 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> > 3. I really don't want to end up with a bunch of features of this type
> > for a variety of different data types.
> 
> We already have \pset null which feels very similar.

It's data type neutral, and there's no representation of NULL that's
definitely discernible from the corresponding string. So I don't see
those being the same.


This seems like opening a can of worms to me. Why not add formatting
options in psql for other data types?

- Andres



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: psql: add \pset true/false
Next
From: Marko Tiikkaja
Date:
Subject: Re: psql: add \pset true/false