Re: How to mark a transaction as SERIALIZABLE?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Carr <joe(dot)carr(at)gmail(dot)com>
Cc: Thom Brown <thom(at)linux(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: How to mark a transaction as SERIALIZABLE?
Date: 2010-11-02 14:15:07
Message-ID: 25703.1288707307@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Joe Carr <joe(dot)carr(at)gmail(dot)com> writes:
> Thanks for the link. I've done some more reading, and now it appears
> impossible to set the isolation level of a transaction from within a
> function.

That's correct. By the time the function gets control, you're already
inside the transaction; it's too late to change its isolation level.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Chris Browne 2010-11-02 14:34:01 Re: How to mark a transaction as SERIALIZABLE?
Previous Message Joe Carr 2010-11-02 13:24:02 Re: How to mark a transaction as SERIALIZABLE?