Fix regression tests for psql \d view patch

This commit is contained in:
Peter Eisentraut 2009-11-03 14:52:10 +00:00
parent 2e3b16c8ba
commit 16cd34a435
2 changed files with 9 additions and 9 deletions

View File

@ -1350,14 +1350,14 @@ select * from dfview;
4567890123456789 | -4567890123456789 | 4567890123456789 | -4567890123456789
(5 rows)
\d dfview
View "public.dfview"
Column | Type | Modifiers
--------+--------+-----------
q1 | bigint |
q2 | bigint |
c3 | bigint |
c4 | bigint |
\d+ dfview
View "public.dfview"
Column | Type | Modifiers | Storage | Description
--------+--------+-----------+---------+-------------
q1 | bigint | | plain |
q2 | bigint | | plain |
c3 | bigint | | plain |
c4 | bigint | | plain |
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
FROM int8_tbl;

View File

@ -741,7 +741,7 @@ CREATE VIEW dfview AS
select * from dfview;
\d dfview
\d+ dfview
drop view dfview;
drop function dfunc(anyelement, anyelement, bool);