Re: transaction blocking inserts in postgresql 7.3

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: transaction blocking inserts in postgresql 7.3
Дата
Msg-id 1048678247.2220.24.camel@coppola.ecircle.de
обсуждение исходный текст
Ответ на Re: transaction blocking inserts in postgresql 7.3  ("Chris Hutchinson" <chris@hutchinsonsoftware.com>)
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: transaction blocking inserts in postgresql 7.3
Следующее
От: "Chris Smith"
Дата:
Сообщение: Please help with this error message