If pg_test_fsync is interrupted, clean up the temp file.

Robert Haas <rhaas@postgresql.org>

Commit: ab7d4213f93f0ef0e45b9b9343725974f196b091
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-12-09T20:06:46Z
Releases: 9.2.0
If pg_test_fsync is interrupted, clean up the temp file.

Marti Raudsepp, with additional paranoia by me.

Files

PathChange+/−
contrib/pg_test_fsync/pg_test_fsync.c modified +23 −0