Drop the foo table in rangefuncs regression tes
authorTomas Vondra <tomas@2ndquadrant.com>
Mon, 17 Jul 2017 20:32:18 +0000 (22:32 +0200)
committerTomas Vondra <tomas@2ndquadrant.com>
Mon, 17 Jul 2017 20:35:39 +0000 (22:35 +0200)
The table was made non-temporary by commit e98209019b4d2012, but it was
not dropped, wich caused failures in the returning regression test. So
add the missing DROP TABLE.

src/test/regress/expected/rangefuncs.out
src/test/regress/sql/rangefuncs.sql

index 988be1e486e3904be24604edd17b3e45bce97fe4..6246d748092885d10c5fa3af6c486daec470e885 100644 (file)
@@ -1838,6 +1838,7 @@ ERROR:  a column definition list is required for functions returning "record"
 LINE 1: select * from testfoo();
                       ^
 drop function testfoo();
+drop table foo;
 --
 -- Check some cases involving added/dropped columns in a rowtype result
 --
index 6898331fd21fd237fdcb3041fbb08b89a5162666..e309f4f838ec93aee364e8b199fecf5f317de9f0 100644 (file)
@@ -524,6 +524,7 @@ select * from testfoo() as t(f1 int8,f2 int8) order by 1, 2;
 select * from testfoo(); -- fail
 
 drop function testfoo();
+drop table foo;
 
 --
 -- Check some cases involving added/dropped columns in a rowtype result