Re: [BUGS] INSTEAD rule bug?

Поиск
Список
Период
Сортировка
От Dmitry Tkach
Тема Re: [BUGS] INSTEAD rule bug?
Дата
Msg-id 3F14333F.1070409@openratings.com
обсуждение исходный текст
Ответ на Re: [BUGS] INSTEAD rule bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] INSTEAD rule bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:

>Oh, I see what you're on about.  Sorry, a "DO INSTEAD NOTHING" only
>suppresses the original command, it does not suppress other rules.
>I think what you want is to make the insert_test rule conditional
>on x being not null.
>
>
>
Yeah... that's what I was afraid of :-(
The problem is that in the 'real life' situation the condition is a lot
more complicated than this simple is null test... I hate having to
duplicate it, and I hate even more having to evaluate it twice on every
insert :-(

Dima


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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: Are you frustrated with PostgreSQL
Следующее
От: "Jay O'Connor"
Дата:
Сообщение: Re: perfromance impact of vacuum