Ignore CatalogSnapshot when checking COPY FREEZE prerequisites.
Noah Misch <noah@leadboat.com>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/copy.c | modified | +15 −3 |
| src/backend/utils/time/snapmgr.c | modified | +8 −0 |
Discussion
- pgsql: Account for catalog snapshot in PGXACT->xmin updates. 9 messages · 2016-11-15 → 2017-11-05