Problem with SELECT FOR UPDATE NOWAIT - Mailing list pgsql-admin

From Mathias Laurent
Subject Problem with SELECT FOR UPDATE NOWAIT
Date
Msg-id BAY112-F31DF679F7653CFD2835DD19AC30@phx.gbl
Whole thread Raw
Responses Re: Problem with SELECT FOR UPDATE NOWAIT
List 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/


pgsql-admin by date:

Previous
From: "Chris Hoover"
Date:
Subject: Re: Autovacuum ideas
Next
From: Brendan Duddridge
Date:
Subject: Re: Autovacuum ideas