]> granicus.if.org Git - postgresql/commitdiff
Fix regression tests for psql \d view patch
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 3 Nov 2009 14:52:10 +0000 (14:52 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 3 Nov 2009 14:52:10 +0000 (14:52 +0000)
src/test/regress/expected/polymorphism.out
src/test/regress/sql/polymorphism.sql

index 36b31f09f43b5beeb836667741533e4084be0b13..cc104522b0c0ad54872f60c95952d3d6e03dcd76 100644 (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;
index 2071ce63da70b47bbd98a07e48277ac63af4f22f..3c8ab5d79b280d94f9c97b41433382e9aace2b1d 100644 (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);