Greg Stark <[EMAIL PROTECTED]> writes:
> What queries are those two processes executing? And what foreign keys do you
> have on the product table or elsewhere referring to the product table? And
> what indexes do you have on those columns?

And what PG version is this?  Alvaro fixed the
foreign-keys-take-exclusive-locks problem in 8.1 ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to