Clean up Pg batch alter test
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Mon, 25 Aug 2014 12:57:38 +0000 (15:57 +0300)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 2 Sep 2014 13:56:57 +0000 (14:56 +0100)
commit4d4d68c0266941415382ae8651a1cf4abc01b54f
tree9bd98562aea10f5db67b10a9e157aeb8648dc871
parent591b4fa98fe80c43ea4420539ca94ac1822b3315
Clean up Pg batch alter test

- Only use Test::PostgreSQL if DBICTEST_PG_DSN isn't set
- Use sqlt_test_ prefix for tables we create
- Drop the tables we created on exit
- Use lives_ok for the SQL we're testing
t/postgresql-rename-table-and-field.t