pgsql: psql: Make output of \dD more stable

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: psql: Make output of \dD more stable
Date: 2024-04-15 07:34:32
Message-ID: E1rwGrI-0027pQ-8T@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-04-15 08:24:39 Re: pgsql: Move code for backend startup to separate file
Previous Message Peter Eisentraut 2024-04-15 06:39:19 pgsql: Fix ALTER DOMAIN NOT NULL syntax