Skip site navigation (1) Skip section navigation (2)

Re: Snapshot management, final

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Pg Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Snapshot management, final
Date: 2008-04-22 22:13:00
Message-ID: 20080422221300.GM6912@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2008-04-22 23:30:46
Subject: Re: Snapshot management, final
Previous:From: Simon RiggsDate: 2008-04-22 21:58:38
Subject: Re: Snapshot management, final

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group