Clean up properly after Parser::DBI::PostgreSQL tests
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sun, 17 Mar 2013 14:07:55 +0000 (14:07 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sun, 17 Mar 2013 15:05:03 +0000 (15:05 +0000)
commit7b1bb6588589c3f1d6e17ff1cb6af5941136720b
treea4530668ecb88737ba21ab7e59c7b3ff5ff3742a
parentaa068030f5b8038d5f5653b70cfcf478bf52583e
Clean up properly after Parser::DBI::PostgreSQL tests

Deleting the table in END {} after having disconnected isn't going to
work.  Instead, take advantage of PostgreSQL's transactional DDL
support, and do the tests inside a transcation that is rolled back at
the end.
Changes
t/66-postgres-dbi-parser.t