Re: Rule trouble (looks to me exactly like the example)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rule trouble (looks to me exactly like the example)
Дата
Msg-id 22094.1017986389@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Rule trouble (looks to me exactly like the example)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
I wrote:
> What's happening is that "new.id" is effectively still NULL at the point
> where the rule is processed, so the rule WHERE condition fails.  I'm not
> sure why you're bothering with that WHERE condition anyway ... but this
> seems to be another argument for moving INSERT's default-value-insertion
> step to before the rule rewriter.

I've committed fixes for this into CVS tip.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 16 parameter limit
Следующее
От: Frank Joerdens
Дата:
Сообщение: Re: Rule trouble (looks to me exactly like the example)