]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Ignore CatalogSnapshot when checking COPY FREEZE prerequisites.
authorNoah Misch <noah@leadboat.com>
Sun, 5 Nov 2017 17:25:52 +0000 (09:25 -0800)
committerNoah Misch <noah@leadboat.com>
Sun, 5 Nov 2017 17:26:47 +0000 (09:26 -0800)
commit2a2e2e85e0f67213816126d654615413930dd8b3
treeaca731eedc84440c92a5364bbdcfc75fd4c4fb34
parent946f165182a2e643c18fa21b563dc3ccc0c9ada7
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
src/backend/commands/copy.c
src/backend/utils/time/snapmgr.c