git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: eeb01e3) | patch
Remove unnecessary "DISTINCT" in psql's queries for \dAc and \dAf.
Mon, 3 Aug 2020 18:02:35 +0000 (14:02 -0400)
Mon, 3 Aug 2020 18:02:35 +0000 (14:02 -0400)
commit 9e496768b8a7303ea07888ea1baae8e2a57dda7b
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.
src/bin/psql/describe.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /