pgsql: Minor cleanup of pg_rewind. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Minor cleanup of pg_rewind.
Date
Msg-id E1YiTif-000429-NW@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Minor cleanup of pg_rewind.

Update comments and function names to use the terms "source" and "target"
consistently. Some places were calling them remote and local instead, which
was confusing.

Fix incorrect comment in extractPageInfo on database creation record - it
was wrong on what happens for databases created in the target that don't
exist in source.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/41457fcf970f0ec78004cc0f7b29f1d37021fbfb

Modified Files
--------------
src/bin/pg_rewind/fetch.c       |    4 ++--
src/bin/pg_rewind/fetch.h       |    2 +-
src/bin/pg_rewind/filemap.c     |   50 ++++++++++++++++++++-------------------
src/bin/pg_rewind/filemap.h     |   13 ++++++----
src/bin/pg_rewind/libpq_fetch.c |    2 +-
src/bin/pg_rewind/logging.c     |    3 +++
src/bin/pg_rewind/parsexlog.c   |   30 +++++++++++------------
src/bin/pg_rewind/pg_rewind.c   |    6 ++---
8 files changed, 58 insertions(+), 52 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Shut down test servers after pg_rewind regression tests.
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Error out in pg_rewind if lstat() fails.