Re: begin transaction locks out other connections

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: begin transaction locks out other connections
Дата
Msg-id 47FCC239.9000902@archonet.com
обсуждение исходный текст
Ответ на begin transaction locks out other connections  (Ivano Luberti <luberti@archicoop.it>)
Ответы Re: begin transaction locks out other connections
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Raymond O'Donnell
Дата:
Сообщение: Re: Debugging Pl/PgSQL functions with the debug contrib module
Следующее
От: "Peter Geoghegan"
Дата:
Сообщение: Re: R: Debugging Pl/PgSQL functions with the debug contrib module