Re: Transaction Snapshot Cloning - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Transaction Snapshot Cloning
Date
Msg-id 1200130346.4266.1263.camel@ebony.site
Whole thread Raw
In response to Re: Transaction Snapshot Cloning  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Transaction Snapshot Cloning  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, 2008-01-11 at 19:23 -0500, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > For (2) there's a very simple way of transferring the data between
> > sessions: 
> > a) we connect on session 1 as a serializable transaction
> > b) we ask session 1 for its snapshot
> > c) we then connect on session 2 as a serializable transaction
> > d) we then execute "select replace_serializable_snapshot(...)"
> 
> [ blanches... ]  Can you say "security hole"?

Static on the line, sorry. 

I'm hearing "useful superuser-only capability". ;-)

--  Simon Riggs 2ndQuadrant  http://www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Psql command-line completion bug
Next
From: Markus Schiltknecht
Date:
Subject: Re: Some ideas about Vacuum