Skip site navigation (1) Skip section navigation (2)

pgsql: pg_basebackup: stylistic adjustments

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_basebackup: stylistic adjustments
Date: 2012-07-31 15:06:04
Message-ID: (view raw or whole thread)
Lists: pgsql-committers
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.



Modified Files
doc/src/sgml/ref/pg_basebackup.sgml    |    2 +-
doc/src/sgml/ref/pg_receivexlog.sgml   |    4 +-
src/bin/pg_basebackup/pg_basebackup.c  |  185 ++++++++++++++++++++------------
src/bin/pg_basebackup/pg_receivexlog.c |   74 +++++++------
src/bin/pg_basebackup/receivelog.c     |   92 ++++++++++------
src/bin/pg_basebackup/streamutil.c     |    6 +-
6 files changed, 220 insertions(+), 143 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2012-07-31 18:38:02
Subject: pgsql: Fix syslogger so that log_truncate_on_rotation works in thefirs
Previous:From: Bruce MomjianDate: 2012-07-30 14:16:14
Subject: pgsql: Now that the author has updated the downloadlink

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group