Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9318fa8

Browse files
committed
Update expected files for recent changes of domain tests.
From Rod Taylor.
1 parent ebe1be1 commit 9318fa8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/test/regress/expected/domain.out

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,13 @@ create table defaulttest
143143
( col1 ddef1
144144
, col2 ddef2
145145
, col3 ddef3
146-
, col4 ddef4
146+
, col4 ddef4 PRIMARY KEY
147147
, col5 ddef1 NOT NULL DEFAULT NULL
148148
, col6 ddef2 DEFAULT '88'
149149
, col7 ddef4 DEFAULT 8000
150150
, col8 ddef5
151151
);
152+
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'defaulttest_pkey' for table 'defaulttest'
152153
insert into defaulttest default values;
153154
insert into defaulttest default values;
154155
insert into defaulttest default values;

src/test/regress/expected/type_sanity.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
SELECT p1.oid, p1.typname
1717
FROM pg_type as p1
1818
WHERE (p1.typlen <= 0 AND p1.typlen != -1) OR
19-
(p1.typtype != 'b' AND p1.typtype != 'c' AND p1.typtype != 'p') OR
19+
p1.typtype not in('b', 'c', 'd', 'p') OR
2020
NOT p1.typisdefined OR
2121
(p1.typalign != 'c' AND p1.typalign != 's' AND
2222
p1.typalign != 'i' AND p1.typalign != 'd') OR
@@ -60,7 +60,7 @@ WHERE (p1.typtype = 'c' AND p1.typrelid = 0) OR
6060
-- NOTE: as of 7.3, this check finds SET, smgr, and unknown.
6161
SELECT p1.oid, p1.typname
6262
FROM pg_type as p1
63-
WHERE p1.typtype = 'b' AND p1.typname NOT LIKE '\\_%' AND NOT EXISTS
63+
WHERE p1.typtype in ('b','d') AND p1.typname NOT LIKE '\\_%' AND NOT EXISTS
6464
(SELECT 1 FROM pg_type as p2
6565
WHERE p2.typname = ('_' || p1.typname)::name AND
6666
p2.typelem = p1.oid);

0 commit comments

Comments
 (0)