pgsql: More pg_test_fsync fixups.
pgsql: 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. Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=37eb2cd4ad4c3323f1c7ed1c893c9d645fbaeb1a Modified Files -------------- contrib/pg_test_fsync/pg_test_fsync.c | 62 +++++++++++++++++++-------------- 1 files changed, 36 insertions(+), 26 deletions(-)