Re: transaction blocking inserts in postgresql 7.3

From: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
To: Chris Hutchinson <chris(at)hutchinsonsoftware(dot)com>
Cc: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>, Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: transaction blocking inserts in postgresql 7.3
Date: 2003-03-26 11:30:46
Message-ID: 1048678247.2220.24.camel@coppola.ecircle.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org)
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mig-O 2003-03-26 14:17:12 iso-8859-1 characters in psql
Previous Message Richard Huxton 2003-03-26 11:28:53 Re: transaction blocking inserts in postgresql 7.3