Re: Postgresql MVCC, Read Committed Isolation Level and taking "snapshot" - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: Postgresql MVCC, Read Committed Isolation Level and taking "snapshot"
Date
Msg-id 20080520154307.GF56707@commandprompt.com
Whole thread Raw
In response to Re: Postgresql MVCC, Read Committed Isolation Level and taking "snapshot"  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
List pgsql-general
On Sun, May 18, 2008 at 02:04:56PM +0200, Ivan Sergio Borgonovo wrote:

> What is the effect of having nested functions all declared
> SERIALIZABLE?

You can't do that.  You have to declare SERIALIZABLE right at the
beginning of the transaction, or it won't work (and, IIRC, it throws
an error).  That means _before_ you call the first function (since
calling the function is then the first statement in the transaction,
before serializable).

A


--
Andrew Sullivan
ajs@commandprompt.com
+1 503 667 4564 x104
http://www.commandprompt.com/

pgsql-general by date:

Previous
From: "Dan Joo"
Date:
Subject: Re: psql: FATAL: Ident authentication failed for user "postgres"
Next
From: Karsten Hilbert
Date:
Subject: Re: psql: FATAL: Ident authentication failed for user "postgres"