pgsql: pg_basebackup: stylistic adjustments - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: pg_basebackup: stylistic adjustments
Date
Msg-id E1SwE1M-0004lL-MN@gemulon.postgresql.org
Whole thread Raw
List 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.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/65f33352494cccf70ab512c5c6d1637b31a13364

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 |   73 +++++++------
src/bin/pg_basebackup/receivelog.c     |   92 ++++++++++------
src/bin/pg_basebackup/streamutil.c     |    6 +-
6 files changed, 221 insertions(+), 141 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix memory and file descriptor leaks in pg_receivexlog/pg_baseba
Next
From: Tom Lane
Date:
Subject: pgsql: Fix syslogger so that log_truncate_on_rotation works in the firs