Re: psql: add \pset true/false

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: psql: add \pset true/false
Дата
Msg-id 20151028234256.GM29811@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: psql: add \pset true/false  (Greg Stark <stark@mit.edu>)
Список 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 по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: psql: add \pset true/false
Следующее
От: Marko Tiikkaja
Дата:
Сообщение: Re: psql: add \pset true/false