Re: transaction blocking inserts in postgresql 7.3 - Mailing list pgsql-general

From Csaba Nagy
Subject Re: transaction blocking inserts in postgresql 7.3
Date
Msg-id 1048678247.2220.24.camel@coppola.ecircle.de
Whole thread Raw
In response to Re: transaction blocking inserts in postgresql 7.3  ("Chris Hutchinson" <chris@hutchinsonsoftware.com>)
List pgsql-general
>
> I'm curious why postgres should be blocking like this, as the foreign key
> constraint is presumably read-based.
No, the foreign key check places an exclusive lock on the parent table's
referenced row.
There's no row level shared lock implemented. This is the problem.

>
> Regards,
> Chris
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: transaction blocking inserts in postgresql 7.3
Next
From: "Chris Smith"
Date:
Subject: Please help with this error message