pgsql: Remove unnecessary "DISTINCT" in psql's queries for \dAc and \dA - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove unnecessary "DISTINCT" in psql's queries for \dAc and \dA
Date
Msg-id E1k2enM-0001Kz-8q@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove unnecessary "DISTINCT" in psql's queries for \dAc and \dAf.

A moment's examination of these queries is sufficient to see that
they do not produce duplicate rows, unless perhaps there's
catalog corruption.  Using DISTINCT anyway is inefficient and
confusing; moreover it sets a poor example for anyone who
refers to psql -E output to see how to query the catalogs.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9e496768b8a7303ea07888ea1baae8e2a57dda7b

Modified Files
--------------
src/bin/psql/describe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: fix obsolete info about allowed range of TZ offsets in time
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Add nbtree page deletion assertion.