Problem with SELECT FOR UPDATE NOWAIT

From: "Mathias Laurent" <e1lauren(at)hotmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Problem with SELECT FOR UPDATE NOWAIT
Date: 2006-04-13 01:57:47
Message-ID: BAY112-F31DF679F7653CFD2835DD19AC30@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

Veiled I have a small problem which I have solved in a way not very clean, I
would thus like to have your opinion. When I made with the process 1 :

Select * FROM myTable WHERE num=3 FOR UPDATE NOWAIT

And that I remade it with a process 2 before having do one "Commit" It
blocked me (until there normal)
But once that I free by doing one "Commit" with process 1 All the table
remains to block for process 2...
To have access it, it is necessary that I do one "Commit" with the
processus2 !! It's very strange...

Thank you,

Mathias Laurent

_________________________________________________________________
Windows Live Mail : découvrez et testez la version bêta !
http://www.ideas.live.com/

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Brendan Duddridge 2006-04-13 05:56:47 Re: Autovacuum ideas
Previous Message Chris Hoover 2006-04-12 20:53:40 Re: Autovacuum ideas