Re: psql \d+ and oid display

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: psql \d+ and oid display
Дата
Msg-id
20140329155445.GA30470@momjian.us
Ответ на
Re: psql \d+ and oid display (Fabrízio de Royes Mello)
Список
Дерево обсуждения
psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display David Johnston <polobo@yahoo.com>
Re: psql \d+ and oid display Andrew Dunstan <andrew@dunslane.net>
Re: psql \d+ and oid display Andres Freund <andres@2ndquadrant.com>
Re: psql \d+ and oid display Euler Taveira <euler@timbira.com.br>
Re: psql \d+ and oid display Stephen Frost <sfrost@snowman.net>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Tom Lane <tgl@sss.pgh.pa.us>
Re: psql \d+ and oid display Stephen Frost <sfrost@snowman.net>
Re: psql \d+ and oid display Robert Haas <robertmhaas@gmail.com>
Re: psql \d+ and oid display Fabrízio de Royes Mello <fabriziomello@gmail.com>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display David Johnston <polobo@yahoo.com>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Andrew Dunstan <andrew@dunslane.net>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Tom Lane <tgl@sss.pgh.pa.us>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Robert Haas <robertmhaas@gmail.com>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Tom Lane <tgl@sss.pgh.pa.us>
Re: psql \d+ and oid display Robert Haas <robertmhaas@gmail.com>
Re: psql \d+ and oid display Tom Lane <tgl@sss.pgh.pa.us>
Re: psql \d+ and oid display Robert Haas <robertmhaas@gmail.com>
Re: psql \d+ and oid display Andres Freund <andres@2ndquadrant.com>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Tom Lane <tgl@sss.pgh.pa.us>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Robert Haas <robertmhaas@gmail.com>
Re: psql \d+ and oid display Tom Lane <tgl@sss.pgh.pa.us>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Robert Haas <robertmhaas@gmail.com>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Andres Freund <andres@2ndquadrant.com>
Re: psql \d+ and oid display Robert Haas <robertmhaas@gmail.com>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Greg Stark <stark@mit.edu>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Tom Lane <tgl@sss.pgh.pa.us>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Stephen Frost <sfrost@snowman.net>
Re: psql \d+ and oid display Jeff Janes <jeff.janes@gmail.com>
Re: psql \d+ and oid display Bruce Momjian <bruce@momjian.us>
Re: psql \d+ and oid display Andrew Dunstan <andrew@dunslane.net>
On Fri, Mar 28, 2014 at 03:53:32PM -0300, Fabrízio de Royes Mello wrote:
> On Fri, Mar 28, 2014 at 3:41 PM, Tom Lane  wrote:
> >
> > Bruce Momjian  writes:
> > > On Thu, Mar 27, 2014 at 02:54:26PM -0400, Stephen Frost wrote:
> > >> I believe Bruce was suggesting to show it when it is set to *not* the
> > >> default, which strikes me as perfectly reasonable.
> >
> > > We seem to be split on the idea of having "Has OIDs" display only when
> > > the oid status of the table does not match the default_with_oids
> > > default.
> >
> > FWIW, I think that having the display depend on what that GUC is set to
> > is a seriously *bad* idea.  It will mean that you don't actually know,
> > when looking at the output of \d, whether the table has OIDs or not.
> >
> > I could get behind a proposal to suppress the line when there are not
> > OIDs, full stop; that is, we print either "Has OIDs: yes" or nothing.
> > But I think this patch just makes things even more surprising when
> > default_with_oids is turned on.
> >
> 
> Something like the attached ?

I assume it would be more like my attachment, i.e. since we are only
displaying it when OIDs exist, there is no value for oid status field
--- just say "Has OIDs" or "Includes OIDs", or something like that.

I know some people are saying there is no need to change the current
output --- I am only saying that the importance of showing the lack of
OIDs has lessened over the years, and we should reconsider its
importance.  If we reconsider and still think we are fine, that's good
with me.  I am saying we should not just keep doing this because we have
always displayed it in the past.

-- 
  Bruce Momjian          http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +
В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
Сообщение: Re: psql \d+ and oid display
От: David Johnston
Дата:
Сообщение: Re: psql \d+ and oid display
FAQ