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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Tom Lane-2
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
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/72ca61101ad4076941f175b50cc86e6372023034

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