Re: Snapshot management, final - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: Snapshot management, final
Date
Msg-id 20080422221300.GM6912@alvh.no-ip.org
Whole thread Raw
In response to Re: Snapshot management, final  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: Snapshot management, final  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Snapshot management, final  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-patches
Simon Riggs wrote:

> OK, so it can;t be copied to a longer lived memory context?

CopySnapshot always copies snapshots to SnapshotContext, which is a
context that lives until transaction end.  There's no mechanism for
copying a snapshot into another context, because I don't see the need.

If you need that ability, please explain.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-patches by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Snapshot management, final
Next
From: Tom Lane
Date:
Subject: Re: Snapshot management, final