Re: strange (maybe) behaviour of table lock

Поиск
Список
Период
Сортировка
От Edoardo Panfili
Тема Re: strange (maybe) behaviour of table lock
Дата
Msg-id 4579BD61.2050509@aspix.it
обсуждение исходный текст
Ответ на Re: strange (maybe) behaviour of table lock  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список pgsql-general
Scott Marlowe wrote:
> 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.
You are right, also Tom said that.
At a lower level of lock all goes well but I'd like to know what is
going wrong. This is a bug of my code (obviously) and I am investigating.

thak you
Edoardo

--
edoardo@aspix.it
AIM: edoardopn
Jabber: edoardopa@talk.google.com
tel:075 9142766

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: strange (maybe) behaviour of table lock
Следующее
От: David Fetter
Дата:
Сообщение: Re: Male/female