Re: strange (maybe) behaviour of table lock

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: strange (maybe) behaviour of table lock
Дата
Msg-id 1165605900.3243.59.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на strange (maybe) behaviour of table lock  (Edoardo Panfili <edoardo@aspix.it>)
Ответы Re: strange (maybe) behaviour of table lock  (Edoardo Panfili <edoardo@aspix.it>)
Список pgsql-general
On Fri, 2006-12-08 at 09:16, Edoardo Panfili wrote:
> I have a question regarding a strange behaviour (for me, maybe that this
> is desidered feature) of LOCK on tables. I am using postgres 8.2
>
> I have a servlet that uses connection pools.
> The servlet do "LOCK table,table2,table3,table4"
> then do some select (I am testing the code, I will put the update in the
> future) an then I close instruction and connection.

Before we go any further, what are you trying to accomplish by this
lock?  Perhaps there's a better "postgresqlish" approach than a table
lock.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: strange (maybe) behaviour of table lock
Следующее
От: Edoardo Panfili
Дата:
Сообщение: Re: strange (maybe) behaviour of table lock