Re: TRUNCATE SERIALIZABLE and frozen COPY - Mailing list pgsql-hackers

From Robert Haas
Subject Re: TRUNCATE SERIALIZABLE and frozen COPY
Date
Msg-id CA+Tgmob7s-UZ+dkEevQ0R6cRR_4uk5d57D9dzvAjy=hoaNJx5g@mail.gmail.com
Whole thread Raw
In response to TRUNCATE SERIALIZABLE and frozen COPY  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: TRUNCATE SERIALIZABLE and frozen COPY  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On Wed, Nov 7, 2012 at 10:34 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> For 9.2 we discussed having COPY setting tuples as frozen. Various
> details apply.
> Earlier threads:
>   "RFC: Making TRUNCATE more "MVCC-safe"
>   "COPY with hints, rebirth"
>
> I was unhappy with changing the behaviour of TRUNCATE, and still am.
> So the proposal here is to have a specific modifier on TRUNCATE
> command that makes it MVCC safe by throwing a serialization error.

I don't think I understand the proposal.  Under what circumstances
would it throw a serialization error?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: [BUGS] BUG #7534: walreceiver takes long time to detect n/w breakdown
Next
From: Robert Haas
Date:
Subject: Re: Doc patch, distinguish sections with an empty row in error code table