Re: Docs patch to note that rules only get run once per query.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Docs patch to note that rules only get run once per query.
Дата
Msg-id 1756.1050293515@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Docs patch to note that rules only get run once per query.  (Sean Reifschneider <jafo@tummy.com>)
Список pgsql-docs
Sean Reifschneider <jafo@tummy.com> writes:
> On Sun, Apr 13, 2003 at 11:47:32PM -0400, Tom Lane wrote:
>> So I feel dissatisfied with the above "clarification".  Can you think
>> of another way to explain it?

> Unfortunately, I really don't understand it...  My first thought was
> that it was a bug, but when I presented it to the bugs list they said
> that the rule only gets executed once per query and that triggers should
> be used if you want to run on every impacted row.

Well, it could be argued that the present rule behavior is buggy, not
because there's anything wrong with it on its own terms, but just
because too many people don't understand it :-(

Jan, can you offer any words of wisdom here?

            regards, tom lane


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

Предыдущее
От: Sean Reifschneider
Дата:
Сообщение: Re: Docs patch to note that rules only get run once per query.
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Docs patch to note that rules only get run once per query.