summaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/streamutil.c
diff options
context:
space:
mode:
authorAlvaro Herrera2012-07-31 14:11:11 +0000
committerAlvaro Herrera2012-07-31 15:02:39 +0000
commit2f29f011c82310235c8dfb25f7e648601276a802 (patch)
tree6dfae946b892ab0b00d8b0595e72ad279ee79a66 /src/bin/pg_basebackup/streamutil.c
parent04d2956f0df0d95da3dd2d202b9482d24822cc71 (diff)
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.
Diffstat (limited to 'src/bin/pg_basebackup/streamutil.c')
-rw-r--r--src/bin/pg_basebackup/streamutil.c6
1 files changed, 4 insertions, 2 deletions
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);