| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: More pg_test_fsync fixups. |
| Date: | 2011-01-22 20:01:54 |
| Message-ID: | E1Pgjek-00056m-6H@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2011-01-22 20:03:21 | Re: [COMMITTERS] pgsql: Move test_fsync to /contrib. |
| Previous Message | Tom Lane | 2011-01-22 17:28:58 | Re: [COMMITTERS] pgsql: Move test_fsync to /contrib. |