Re: [Spacewalk-devel] lock_web_contact never return with postgres

2011-12-09 Thread Jan Pazdziora
On Tue, Nov 29, 2011 at 05:42:38PM +0100, Michael Calmer wrote: after a little debugging I found out that the following function never return in case of postgres is used: package RHN::DB::User; sub lock_web_contact() It stops at this query: 'SELECT * FROM web_contact WHERE id =

[Spacewalk-devel] lock_web_contact never return with postgres

2011-11-29 Thread Michael Calmer
Hi, after a little debugging I found out that the following function never return in case of postgres is used: package RHN::DB::User; sub lock_web_contact() It stops at this query: 'SELECT * FROM web_contact WHERE id = :user_id FOR UPDATE' It seems, that postgres support FOR UPDATE so I do