Re: begin transaction locks out other connections

From: Richard Huxton <dev(at)archonet(dot)com>
To: Ivano Luberti <luberti(at)archicoop(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: begin transaction locks out other connections
Date: 2008-04-09 13:18:49
Message-ID: 47FCC239.9000902@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ivano Luberti wrote:
> On client1 we execute
>
> begin;
> insert into table1
>
> and a message of correct execution for both statements is returned
>
> On client2 we execute
>
> begin;
> insert into table2
>
> and the client receives a correct execution message for the begin stmt
> but waits for the insert statement until client1 execute either a commit
> or a rollback.

These aren't valid statements, so you can't be getting a "success"
message. You're going to have to give details of what you're doing if
you want someone to tell you what is being locked and why.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Geoghegan 2008-04-09 13:21:33 Re: R: Debugging Pl/PgSQL functions with the debug contrib module
Previous Message Raymond O'Donnell 2008-04-09 13:17:14 Re: Debugging Pl/PgSQL functions with the debug contrib module