Remove unnecessary "DISTINCT" in psql's queries for \dAc and \dAf.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9e496768b8a7303ea07888ea1baae8e2a57dda7b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-08-03T18:02:35Z
Releases: 14.0
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.

Files

PathChange+/−
src/bin/psql/describe.c modified +2 −2