pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Greg Stark <stark@mit.edu>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Marko Tiikkaja <marko@joh.to>
Cc: PostgreSQL hackers <pgsql-hackers@postgresql.org>
Subject: Re: psql: add \pset true/false
Date: Thu, 29 Oct 2015 00:42:56 +0100
Message-ID: <20151028234256.GM29811@alap3.anarazel.de> (raw)
In-Reply-To: <CAM-w4HOxmbfjNFBwBAd2=eZnqgJO5EHpZ9857eyMPRE5uhD-RQ@mail.gmail.com>
References: <56308F56.8060908@joh.to>
	<CA+TgmoYNhwfj1uaAaV58ewTiMHFpzD95VEq=0=TitdKiN_7xJA@mail.gmail.com>
	<CAM-w4HOxmbfjNFBwBAd2=eZnqgJO5EHpZ9857eyMPRE5uhD-RQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (44+ messages)  latest in thread

Message-ID: <20151028234256.GM29811@alap3.anarazel.de>
Permalink:  ../20151028234256.GM29811@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20151028234256.GM29811@alap3.anarazel.de

 · 

reply

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: andres@anarazel.de, stark@mit.edu, robertmhaas@gmail.com, marko@joh.to
  Subject: Re: psql: add \pset true/false
  In-Reply-To: <20151028234256.GM29811@alap3.anarazel.de>

* 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