Re: Useless "Replica Identity: NOTHING" noise from psql \d - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Useless "Replica Identity: NOTHING" noise from psql \d
Date
Msg-id 20140324162239.GC15836@momjian.us
Whole thread Raw
In response to Re: Useless "Replica Identity: NOTHING" noise from psql \d  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: Useless "Replica Identity: NOTHING" noise from psql \d  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Mon, Mar 24, 2014 at 05:06:25PM +0100, Andres Freund wrote:
> On 2014-03-22 23:47:57 -0400, Bruce Momjian wrote:
> >     test=> \d+ test
> >                              Table "public.test"
> >      Column |  Type   | Modifiers | Storage | Stats target | Description
> >     --------+---------+-----------+---------+--------------+-------------
> >      x      | integer |           | plain   |              |
> >     Replica Identity: full
> >     Has OIDs: no
> >
> > I used lower-case for the value, rather than all-caps.
>
> Why? CLUSTER, PRIMARY KEY, etc. are displayed all caps, and replica
> identity is similarly set via ALTER TABLE ... REPLICA IDENITY?

Oh, good points;  I had not considered PRIMARY KEY.  Updated patch
attached.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Useless "Replica Identity: NOTHING" noise from psql \d
Next
From: Alvaro Herrera
Date:
Subject: Re: Useless "Replica Identity: NOTHING" noise from psql \d