Commit 16cd34a4 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix regression tests for psql \d view patch

parent 2e3b16c8
...@@ -1350,14 +1350,14 @@ select * from dfview; ...@@ -1350,14 +1350,14 @@ select * from dfview;
4567890123456789 | -4567890123456789 | 4567890123456789 | -4567890123456789 4567890123456789 | -4567890123456789 | 4567890123456789 | -4567890123456789
(5 rows) (5 rows)
\d dfview \d+ dfview
View "public.dfview" View "public.dfview"
Column | Type | Modifiers Column | Type | Modifiers | Storage | Description
--------+--------+----------- --------+--------+-----------+---------+-------------
q1 | bigint | q1 | bigint | | plain |
q2 | bigint | q2 | bigint | | plain |
c3 | bigint | c3 | bigint | | plain |
c4 | bigint | c4 | bigint | | plain |
View definition: View definition:
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 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
FROM int8_tbl; FROM int8_tbl;
......
...@@ -741,7 +741,7 @@ CREATE VIEW dfview AS ...@@ -741,7 +741,7 @@ CREATE VIEW dfview AS
select * from dfview; select * from dfview;
\d dfview \d+ dfview
drop view dfview; drop view dfview;
drop function dfunc(anyelement, anyelement, bool); drop function dfunc(anyelement, anyelement, bool);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment