]> granicus.if.org Git - postgresql/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:28 +0000 (09:26 -0800)
commit1cac62dac0cfdcacdb2c2b1577dadf101ef7f1f4
tree8c20f6e08a442c547e3a9fee231f275ccf1307b5
parentbd8e2b3cf4cfe5f26ed314af662ef988b4cfad4b
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