git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ffb4e27) | patch
Refactor pg_rewind for more clear decision making.
Wed, 4 Nov 2020 09:21:09 +0000 (11:21 +0200)
Wed, 4 Nov 2020 09:21:09 +0000 (11:21 +0200)
commit eb00f1d4bf96bdba236bcc089f3ae94db9b7c603
Refactor pg_rewind for more clear decision making.

Deciding what to do with each file is now a separate step after all the
necessary information has been gathered. It is more clear that way.
Previously, the decision-making was divided between process_source_file()
and process_target_file(), and it was a bit hard to piece together what
the overall rules were.

Reviewed-by: Kyotaro Horiguchi, Soumyadeep Chakraborty
Discussion: https://www.postgresql.org/message-id/0c5b3783-af52-3ee5-f8fa-6e794061f70d%40iki.fi
src/bin/pg_rewind/copy_fetch.c diff | blob | blame | history
src/bin/pg_rewind/file_ops.c diff | blob | blame | history
src/bin/pg_rewind/filemap.c diff | blob | blame | history
src/bin/pg_rewind/filemap.h diff | blob | blame | history
src/bin/pg_rewind/libpq_fetch.c diff | blob | blame | history
src/bin/pg_rewind/parsexlog.c diff | blob | blame | history
src/bin/pg_rewind/pg_rewind.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /