Re: psql \d+ and oid display - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: psql \d+ and oid display
Date
Msg-id 20140415173139.GA20702@momjian.us
Whole thread Raw
In response to Re: psql \d+ and oid display  (Bruce Momjian <bruce@momjian.us>)
List 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@momjian.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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Clock sweep not caching enough B-Tree leaf pages?
Next
From: Robert Haas
Date:
Subject: Re: PostgreSQL in Windows console and Ctrl-C