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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3f16cb5) | patch
pg_rewind: Fix thinko in parsing target WAL.
2020年11月10日 17:25:46 +0000 (19:25 +0200)
2020年11月10日 17:25:46 +0000 (19:25 +0200)
commit 72d172743e52f31bb874e3bbc07544b30bf0bb51
pg_rewind: Fix thinko in parsing target WAL.

It's entirely possible to see WAL for a relation that doesn't exist in
the target anymore. That happens when the relation was dropped later.
The refactoring in commit eb00f1d4b broke that case, by sanity-checking
the file type in the target before checking the flag forwhether it
exists there at all.

I noticed this during manual testing. Modify the 001_basic.pl test so
that it covers this case.
src/bin/pg_rewind/filemap.c diff | blob | blame | history
src/bin/pg_rewind/t/001_basic.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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