Re: Server error

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Server error
Дата
Msg-id 20030508151105.V48282-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: Server error  (Dennis Gearon <gearond@cvc.net>)
Список pgsql-general
On Thu, 8 May 2003, Dennis Gearon wrote:

> it does a full scan of the table's child and parent columns upon
> creation of a foreign key?

It currently runs the trigger once per row in the referencing table.
Doing a single select with not exists will almost certainly be faster, but
that's waiting for someone else to decide to do it or me to get time to do
it. :)

Some form of check is required, AFAIK however, because if the constraint
isn't satisified at the end of the alter table an error should be thrown.


В списке pgsql-general по дате отправления:

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: Re: Server error
Следующее
От: Kathy Zhu
Дата:
Сообщение: Re: jdbc connection process size