Re: [GENERAL] 7.4Beta

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: [GENERAL] 7.4Beta
Дата
Msg-id 20030815073521.B19338-100000@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: [GENERAL] 7.4Beta  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: [GENERAL] 7.4Beta  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-hackers
On Fri, 15 Aug 2003, Andreas Pflug wrote:

> Stephan Szabo wrote:
>
> >That really needs to be rewritten to do a single check over the table
> >rather than running the constraint for every row.  I keep meaning to get
> >around to it and never actually do. :(  I'm not sure that in practice
> >you'll get a better plan at restore time depending on what the default
> >statistics give you.
> >
> This is clearly a case for a statement level trigger, as soon as
> affected rows can be identified.

Well, I think single inserts might be more expensive (because the query is
more involved for the table joining case) using a statement level trigger,
so we'd probably want to profile the cases.



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: [GENERAL] 7.4Beta