Re: Useless "Replica Identity: NOTHING" noise from psql \d

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Useless "Replica Identity: NOTHING" noise from psql \d
Date: 2014-03-24 16:22:39
Message-ID: 20140324162239.GC15836@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

Attachment Content-Type Size
replica.diff text/x-diff 10.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-03-24 16:35:20 Re: Useless "Replica Identity: NOTHING" noise from psql \d
Previous Message Andres Freund 2014-03-24 16:06:25 Re: Useless "Replica Identity: NOTHING" noise from psql \d