Обсуждение: pgsql: Minor cleanup of pg_rewind.

Поиск
Список
Период
Сортировка

pgsql: Minor cleanup of pg_rewind.

От
Heikki Linnakangas
Дата:
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(-)