Re: [BUGS] INSTEAD rule bug?

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

Why evaluate it twice?  The DO INSTEAD NOTHING rule should be
unconditional.

            regards, tom lane

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

Предыдущее
От: "Jay O'Connor"
Дата:
Сообщение: Re: perfromance impact of vacuum
Следующее
От: Dmitry Tkach
Дата:
Сообщение: Re: [BUGS] INSTEAD rule bug?