Re: Using transactions with plpythonu

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "imageguy" <imageguy1206(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Using transactions with plpythonu
Date: 2007-01-21 18:12:06
Message-ID: 27799.1169403126@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"imageguy" <imageguy1206(at)gmail(dot)com> writes:
> In my testing so far, it seems that each call to plpy.execute('INSERT
> INTO ....') is committed immediately.

On what do you base that (erroneous) conclusion?

The fact that a transaction can see its own updates does not mean they
are committed.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-01-21 18:21:34 Re: Using transactions with plpythonu
Previous Message Jaime Casanova 2007-01-21 17:27:41 Re: Migrate 8.0 dump to 7.4