]> 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:43 +0000 (09:26 -0800)
commit7932891ab9ccfa5003a8dce9af0bea60427469b3
treeb8303fc7460e4c9989799f03352c65acf6919446
parentcf0612aa2c8fdc54bb98a13ef839f43cef5eadc5
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