Re: Useless "Replica Identity: NOTHING" noise from psql \d
| От | Bruce Momjian |
|---|---|
| Тема | Re: Useless "Replica Identity: NOTHING" noise from psql \d |
| Дата | |
| Msg-id | 20140323034757.GC5606@momjian.us обсуждение |
| Ответ на | Re: Useless "Replica Identity: NOTHING" noise from psql \d (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: Useless "Replica Identity: NOTHING" noise from psql \d
Re: Useless "Replica Identity: NOTHING" noise from psql \d |
| Список | pgsql-hackers |
On Tue, Dec 17, 2013 at 09:37:09AM -0500, Robert Haas wrote:
> > Patch attached.
>
> I vote for showing it only with +, but regardless of whether the value
> matches the expected default. I'd keep the relkind test, though,
> because I think I noticed that it currently shows up for indexes,
> which is dumb.
Is this the patch you had in mind? I kept the pg_catalog filter. Do we
want to always show the replica identity line for \d+?
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.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
Вложения
В списке pgsql-hackers по дате отправления: