Minor cleanup of pg_rewind.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 15 Apr 2015 19:52:00 +0000 (22:52 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 15 Apr 2015 19:52:00 +0000 (22:52 +0300)
commit41457fcf970f0ec78004cc0f7b29f1d37021fbfb
treeb9f66e790d3528ec55fb04e6da4c73437304cf8c
parent0d8a22a9ac6a61b7993abb642cb7e4645f4087b0
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.
src/bin/pg_rewind/fetch.c
src/bin/pg_rewind/fetch.h
src/bin/pg_rewind/filemap.c
src/bin/pg_rewind/filemap.h
src/bin/pg_rewind/libpq_fetch.c
src/bin/pg_rewind/logging.c
src/bin/pg_rewind/parsexlog.c
src/bin/pg_rewind/pg_rewind.c