Does anyone have an example of using transactions with plpythonu ? I want to create a function that receives data from a client app, and then updates three different tables but I want to ensure they all get updated before I commit. In my testing so far, it seems that each call to plpy.execute('INSERT INTO ....') is committed immediately. Any hints or suggestions or is there a wiki page someone could point me to ? Thanks.