Re: strange (maybe) behaviour of table lock - Mailing list pgsql-general

From Edoardo Panfili
Subject Re: strange (maybe) behaviour of table lock
Date
Msg-id 4579C3CF.7030501@aspix.it
Whole thread Raw
In response to Re: strange (maybe) behaviour of table lock  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> Edoardo Panfili <edoardo@aspix.it> writes:
>> I spend many time to explain the bahaviour of the system:
>
>> I some occasions the system use another connection to retrieve some
>> information during the main connection. This explain the hangs but...
>> why sometimes the system works.
>
>> I do more tests.
>
> Try turning on statement logging in the server.  Looking at the sequence
> of SQL commands actually issued to the server by the different clients
> would probably be informative.

I did some debug. I did non consider the execution of a second
transaction inside the first, this is my error.

The only way to avoid problem with my code is to lower the lock level, I
can't avoid the nesting of the transactions.

The systems works anyway two hours ago, I can't figure how to reproduce
that occasion.

thanks a lot to all
Edoardo

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

pgsql-general by date:

Previous
From: "Raymond O'Donnell"
Date:
Subject: Re: Male/female
Next
From: "Raymond O'Donnell"
Date:
Subject: Re: Male/female