diff options
| author | Peter Eisentraut | 2024-04-15 07:28:48 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2024-04-15 07:28:48 +0000 |
| commit | 6ff21c05302592874b8149421711e06043b954fe (patch) | |
| tree | 692a303a132f860d0bf981e010480e19a4324098 /src/test | |
| parent | 9895b35cb88edc30b836661dbc26d7665716b5a0 (diff) | |
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.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/expected/domain.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regress/expected/domain.out b/src/test/regress/expected/domain.out index db0b8a180a3..f65b66345ab 100644 --- a/src/test/regress/expected/domain.out +++ b/src/test/regress/expected/domain.out @@ -789,7 +789,7 @@ alter domain con add check (VALUE > 0); List of domains Schema | Name | Type | Collation | Nullable | Default | Check --------+------+---------+-----------+----------+---------+-------------------------------------- - public | con | integer | | | | CHECK (VALUE < 34) CHECK (VALUE > 0) + public | con | integer | | | | CHECK (VALUE > 0) CHECK (VALUE < 34) (1 row) insert into domcontest values (-5); -- fails |
