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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-04-22 23:30:46 Re: Snapshot management, final
Previous Message Simon Riggs 2008-04-22 21:58:38 Re: Snapshot management, final