aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/connection.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-11-10 19:25:46 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-11-10 19:25:46 +0200
commit72d172743e52f31bb874e3bbc07544b30bf0bb51 (patch)
tree3775ed25be95e098292081c60623171c64e946fc /contrib/postgres_fdw/connection.c
parent3f16cb505d1d734674da2a2cbf2104ceae22f9b4 (diff)
downloadpostgresql-72d172743e52f31bb874e3bbc07544b30bf0bb51.tar.gz
postgresql-72d172743e52f31bb874e3bbc07544b30bf0bb51.zip
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.
Diffstat (limited to 'contrib/postgres_fdw/connection.c')
0 files changed, 0 insertions, 0 deletions