Re: example for read committed/volitile functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: elein(at)varlena(dot)com (elein)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: example for read committed/volitile functions
Date: 2005-01-30 22:46:03
Message-ID: 2423.1107125163@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

elein(at)varlena(dot)com (elein) writes:
> I tried to reproduce the case where 7.4 and 8.0 differ
> on the scope of volitile function with READ COMMITTED
> transactions.

> In an open transaction in read committed mode.
> Then I access the table and sum columns in a function.
> The results are always consistent between 7.4 and 8.0
> and can see committed insert transactions by another session
> while the first transaction is open.

What's your test case? 8.0 very definitely behaves differently from
prior releases --- try for instance Oliver Garcia's example:
http://archives.postgresql.org/pgsql-bugs/2002-02/msg00142.php

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2005-01-30 23:05:37 Re: [pgsql-advocacy] MySQL worm attacks Windows servers
Previous Message elein 2005-01-30 22:12:17 example for read committed/volitile functions