Could GetTransactionSnapshot be deferred till needed.

From: Daniel Wood <dwood(at)salesforce(dot)com>
To: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Could GetTransactionSnapshot be deferred till needed.
Date: 2013-04-24 21:42:48
Message-ID: 517851D8.8040700@salesforce.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Just as a permanent XID is allocate only when needed, is there any way
to defer the acquisition of a snapshot till it is needed such that
statements like "if x = 1 ..." and "x := 1" don't acquire snapshots just
because they are in a non-read only function? Could this be delayed
till the start of any select/update/delete/insert, DDL, etc?

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2013-04-25 04:50:33 Re: Could GetTransactionSnapshot be deferred till needed.
Previous Message gngon 2013-04-22 20:43:44 Re: Postgresql iPhone