3 -- Turn off echo and keep things quiet.
5 -- Format the output for nice TAP.
10 -- Revert all changes on failure.
11 \set ON_ERROR_ROLLBACK 1
12 \set ON_ERROR_STOP true
15 -- Load the TAP functions.
23 SELECT CASE WHEN pg_version_num() >= 90000
24 THEN pass('Running PostgreSQL 9+')
25 ELSE fail('Not running PostgreSQL 9+')
29 'SELECT COUNT(*) FROM config.upgrade_log',
30 'Have rows in config.upgrade_log'
33 -- Finish the tests and clean up.
34 SELECT * FROM finish();