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

Commit 16cd34a

Browse files
committed
Fix regression tests for psql \d view patch
1 parent 2e3b16c commit 16cd34a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/test/regress/expected/polymorphism.out

+8-8
Original file line numberDiff line numberDiff line change
@@ -1350,14 +1350,14 @@ select * from dfview;
13501350
4567890123456789 | -4567890123456789 | 4567890123456789 | -4567890123456789
13511351
(5 rows)
13521352

1353-
\d dfview
1354-
View "public.dfview"
1355-
Column | Type | Modifiers
1356-
--------+--------+-----------
1357-
q1 | bigint |
1358-
q2 | bigint |
1359-
c3 | bigint |
1360-
c4 | bigint |
1353+
\d+ dfview
1354+
View "public.dfview"
1355+
Column | Type | Modifiers | Storage | Description
1356+
--------+--------+-----------+---------+-------------
1357+
q1 | bigint | | plain |
1358+
q2 | bigint | | plain |
1359+
c3 | bigint | | plain |
1360+
c4 | bigint | | plain |
13611361
View definition:
13621362
SELECT int8_tbl.q1, int8_tbl.q2, dfunc(int8_tbl.q1, int8_tbl.q2, int8_tbl.q1 > int8_tbl.q2 AS flag) AS c3, dfunc(int8_tbl.q1, int8_tbl.q1 < int8_tbl.q2 AS flag, int8_tbl.q2 AS b) AS c4
13631363
FROM int8_tbl;

src/test/regress/sql/polymorphism.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ CREATE VIEW dfview AS
741741

742742
select * from dfview;
743743

744-
\d dfview
744+
\d+ dfview
745745

746746
drop view dfview;
747747
drop function dfunc(anyelement, anyelement, bool);

0 commit comments

Comments
 (0)