Re: example for read committed/volitile functions - Mailing list pgsql-general

From Tom Lane
Subject Re: example for read committed/volitile functions
Date
Msg-id 10246.1107129102@sss.pgh.pa.us
Whole thread Raw
In response to Re: example for read committed/volitile functions  (elein@varlena.com (elein))
Responses Re: example for read committed/volitile functions
List pgsql-general
elein@varlena.com (elein) writes:
> I have multiple statements in a READ COMMITTED transaction that
> can see COMMITs from another concurrent transaction (although not
> vice versa, of course).  The behaviour is consistent in 7.4 and 8.0
> and correct imho.

Right, but put those same statements inside a plpgsql function and
then you'll see a difference.

Essentially, 8.0 causes SQL commands executed inside a function to
behave the same as they would if issued interactively.  Before, there
was a difference.

            regards, tom lane

pgsql-general by date:

Previous
From: Rick Apichairuk
Date:
Subject: Re: FreeBSD 5.2.1, postgresql 7.4.5 and shared memory settings
Next
From: Martijn van Oosterhout
Date:
Subject: Re: [pgsql-advocacy] MySQL worm attacks Windows servers