From 65f33352494cccf70ab512c5c6d1637b31a13364 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Tue, 31 Jul 2012 10:09:16 -0400 Subject: pg_basebackup: stylistic adjustments The most user-visible part of this is to change the long options --statusint and --noloop to --status-interval and --no-loop, respectively, per discussion. Also, consistently enclose file names in double quotes, per our conventions; and consistently use the term "transaction log file" to talk about WAL segments. (Someday we may need to go over this terminology and make it consistent across the whole source code.) Finally, reflow the code to better fit in 80 columns, and have pgindent fix it up some more. --- src/bin/pg_basebackup/streamutil.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/bin/pg_basebackup/streamutil.c') diff --git a/src/bin/pg_basebackup/streamutil.c b/src/bin/pg_basebackup/streamutil.c index 96311e07b31..c32c5acb2b9 100644 --- a/src/bin/pg_basebackup/streamutil.c +++ b/src/bin/pg_basebackup/streamutil.c @@ -184,7 +184,8 @@ GetConnection(void) tmpparam = PQparameterStatus(tmpconn, "integer_datetimes"); if (!tmpparam) { - fprintf(stderr, _("%s: could not determine server setting for integer_datetimes\n"), + fprintf(stderr, + _("%s: could not determine server setting for integer_datetimes\n"), progname); PQfinish(tmpconn); exit(1); @@ -196,7 +197,8 @@ GetConnection(void) if (strcmp(tmpparam, "off") != 0) #endif { - fprintf(stderr, _("%s: integer_datetimes compile flag does not match server\n"), + fprintf(stderr, + _("%s: integer_datetimes compile flag does not match server\n"), progname); PQfinish(tmpconn); exit(1); -- cgit v1.2.3