Re: [PATCHES] Partition: use triggers instead of rules

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Partition: use triggers instead of rules
Дата
Msg-id 2854.1196315753@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Partition: use triggers instead of rules  (David Fetter <david@fetter.org>)
Ответы Re: [PATCHES] Partition: use triggers instead of rules  (David Fetter <david@fetter.org>)
Re: [PATCHES] Partition: use triggers instead of rules  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-docs
David Fetter <david@fetter.org> writes:
> On Wed, Nov 28, 2007 at 09:58:26PM -0500, Jonah H. Harris wrote:
>> On Nov 28, 2007 3:53 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Entirely removing the example of how to do it with rules doesn't
>>> seem like a good idea.
>>
>> Agreed.

> Do you have an example of one use case where using RULEs rather than
> TRIGGERs is a good idea?

The argument I made for keeping the example around is not dependent on
the assumption that using a rule is a good idea.  It's dependent on the
established fact that we have recommended that in prior releases, and
therefore people are going to be seeing that construct in real
databases.

            regards, tom lane

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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: [PATCHES] Partition: use triggers instead of rules
Следующее
От: David Fetter
Дата:
Сообщение: Re: [PATCHES] Partition: use triggers instead of rules