More pg_test_fsync fixups.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_test_fsync/pg_test_fsync.c | modified | +36 −26 |