]> granicus.if.org Git - postgresql/commit
More pg_test_fsync fixups.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 22 Jan 2011 20:01:26 +0000 (15:01 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 22 Jan 2011 20:01:26 +0000 (15:01 -0500)
commit37eb2cd4ad4c3323f1c7ed1c893c9d645fbaeb1a
tree83b0dd18807a9c5fffba803cbe0fe7e3506f8f17
parent3ae28ce8c437811bba47c09d1212c2d3c41cb7ff
More pg_test_fsync fixups.

Reduce #includes to minimum actually needed; in particular include
postgres_fe.h not postgres.h, so as to stop build failures on some
platforms.

Use get_progname() instead of hardwired program name; improve error
checking for command line syntax; bring error messages into line with
style guidelines; include strerror result in die() cases.
contrib/pg_test_fsync/pg_test_fsync.c