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

From Bruce Momjian
Subject Re: psql \d+ and oid display
Date
Msg-id 20140329204901.GB30470@momjian.us
Whole thread Raw
In response to Re: psql \d+ and oid display  (David Johnston <polobo@yahoo.com>)
Responses Re: psql \d+ and oid display
List pgsql-hackers
On Sat, Mar 29, 2014 at 09:59:36AM -0700, David Johnston wrote:
> As my belief is that 99% of the uses of \d are for human consumption
> (because machines should in most cases hit the catalogs directly) then
> strictly displaying "Includes OIDs" when appropriate has my +1.
> 
> Uses of \d+ in regression suites will be obvious and quickly fixed and
> likely account for another 0.9%.
> 
> psql backslash commands are not machine API contracts and should be adapted
> for optimal human consumption; thus neutering the argument for maintaining
> backward compatibility.

One other issue --- we are adding conditional display of "Replica
Identity" to psql \d+ in 9.4, so users processing \d+ output are already
going to have to make adjustments for 9.4.  That is another reason I am
asking about this now.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PQputCopyData dont signal error
Next
From: Andrew Dunstan
Date:
Subject: Re: psql \d+ and oid display