View Single Post

   
  #2 (permalink)  
Old 04-10-2008, 08:53 AM
Tom Lane
 
Posts: n/a
Default Re: INSERT deadlocks (bug or feature?)

evgeny gridasov <eugrid@fpm.kubsu.ru> writes:
> ... and we recieve a deadlock!
> Easy to understand why: each insert statement generates query like:
> SELECT 1 FROM ONLY "public"."ref" x WHERE "id" = $1 FOR UPDATE OF x
> So, is this behaviour of postgresql is a bug or feature?


An extremely well-known bug ... which is fixed in CVS tip.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Reply With Quote