pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Ignore CatalogSnapshot when checking COPY FREEZE prerequisites.
Date: Sun, 05 Nov 2017 17:37:37 +0000
Message-ID: <E1eBOrZ-0002ZK-U6@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1cac62dac0cfdcacdb2c2b1577dadf101ef7f1f4

Modified Files
--------------
src/backend/commands/copy.c      | 18 +++++++++++++++---
src/backend/utils/time/snapmgr.c |  8 ++++++++
2 files changed, 23 insertions(+), 3 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (5+ messages)  latest in thread

Message-ID: <E1eBOrZ-0002ZK-U6@gemulon.postgresql.org>
Permalink:  ../E1eBOrZ-0002ZK-U6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eBOrZ-0002ZK-U6@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: Ignore CatalogSnapshot when checking COPY FREEZE prerequisites.
  In-Reply-To: <E1eBOrZ-0002ZK-U6@gemulon.postgresql.org>
  References: <E1eBOrZ-0002ZK-U6@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox