Ignore CatalogSnapshot when checking COPY FREEZE prerequisites.
This restores the ability, essentially lost in commit
ffaa44cb559db332baeee7d25dedd74a61974203, to use COPY FREEZE under
REPEATABLE READ isolation. Back-patch to 9.4, like that commit.
Reviewed by Tom Lane.
Discussion: https://postgr.es/m/CA+TgmoahWDm-7fperBxzU9uZ99LPMUmEpSXLTw9TmrOgzwnORw@mail.gmail.com
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/2168f37c4db65f40925f4f8ccbb901544a5edb84
Modified Files
--------------
src/backend/commands/copy.c | 18 +++++++++++++++---
src/backend/utils/time/snapmgr.c | 8 ++++++++
2 files changed, 23 insertions(+), 3 deletions(-)