pgsql: psql: Make output of \dD more stable

Started by Peter Eisentrautabout 2 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

psql: Make output of \dD more stable

\dD showed domain check constraints in arbitrary order, which can
cause regression test failures, which was exposed by commit
9895b35cb8. To fix, order the constraints by conname, which matches
what psql does in other queries listing constraints.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6ff21c05302592874b8149421711e06043b954fe

Modified Files
--------------
src/bin/psql/describe.c | 2 +-
src/test/regress/expected/domain.out | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)