Re: psql \d+ and oid display

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <stark(at)mit(dot)edu>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, David Johnston <polobo(at)yahoo(dot)com>
Subject: Re: psql \d+ and oid display
Date: 2014-04-15 17:31:39
Message-ID: 20140415173139.GA20702@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 10, 2014 at 08:05:11PM -0400, Bruce Momjian wrote:
> On Thu, Apr 10, 2014 at 07:58:55PM -0400, Tom Lane wrote:
> > Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > > It also has changed the OID status to only display if it exists. One
> > > question that came up with Robert is whether OID status should appear
> > > for \d as well, now that is only shows up when present.
> >
> > Yeah, I was wondering about that too. If part of the argument here is
> > to make these two displays act more alike, it seems inconsistent that
> > one is emitted by \d while the other only comes out with \d+.
> >
> > Of course, there are two ways to fix that: maybe the replica info
> > also only belongs in \d+?
>
> OK, I changed my patch to only show replica info for \d+. If we decide
> to change them to both display for \d, I will update it again.

OK, hearing only quiet, I have applied the patch. I like that we now
document the replication identity default, which should go a long way to
making this clearer.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-04-15 17:41:59 Re: PostgreSQL in Windows console and Ctrl-C
Previous Message Bruce Momjian 2014-04-15 17:29:00 pgsql: psql: conditionally display oids and replication identity