DROP TABLE test;
CREATE TABLE test(i char(1800));

BEGIN;
INSERT INTO test VALUES('a');
ROLLBACK;
-- Crash database. This leaves behind an unitialized page at the end of the
-- relation, which vacuum will then truncate.
\! DATA=`psql regression -t -c 'show data_directory'`&& echo $DATA;

VACUUM test;

DROP TABLE test;
-- Crash database
\! DATA=`psql regression -t -c 'show data_directory'`&& echo $DATA;


