Fix error handling for Test::PostgreSQL 1.20
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 5 Dec 2017 13:45:29 +0000 (13:45 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 5 Dec 2017 13:47:09 +0000 (13:47 +0000)
commitdeb63b428fecec469c20ea31d8c000e0faf5c383
treed30f1e4d8a560bc5fe8e6e8441e5d6ca0c1bf968
parent79ed8ef109f23e7bdb17cf242d6693ec800ff13d
Fix error handling for Test::PostgreSQL 1.20

Version 1.20 started throwing instead of returning undef for on
errors.  It still sets $Test::PostgreSQL::errstr, so use that in the
skip message for compatibility with the older versions.
Changes
t/postgresql-rename-table-and-field.t