transactions - Mailing list pgsql-sql

From Viorel Dragomir
Subject transactions
Date
Msg-id 031a01c355fd$4f52d020$0600a8c0@fix.ro
Whole thread Raw
Responses Re: transactions  (Josh Berkus <josh@agliodbs.com>)
List pgsql-sql
Is there any known issues regarding transactions.
I got something like:
 
begin transaction
select function1()
select into v1 function2()
if v1='ok' then commit else rollback end if
 
To notice that both functions have about 100 lines of code.
And both functions uses the same tables but in different modes.
function1 deletes && function2 inserts
 
The problem is that my web browser hangs on this query and stays that way a lot [like 30 minutes -- i forgot about it and after 30 minutes it was still trying to open the result page]
 
I hope tomorrow I'll resolv this and if is primary my fault I just shut up and say nothing.
 
regards,
vioss

pgsql-sql by date:

Previous
From: "Antony Gubert"
Date:
Subject: Unsubscribe
Next
From: Josh Berkus
Date:
Subject: Re: transactions