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

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: [DOCS] Partition: use triggers instead of rules
Дата
Msg-id 20071129175236.GC27157@fetter.org
обсуждение исходный текст
Ответ на Re: [DOCS] Partition: use triggers instead of rules  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-patches
On Thu, Nov 29, 2007 at 11:42:18AM -0500, Bruce Momjian wrote:
> Joshua D. Drake wrote:
> > Tom Lane wrote:
> > > "Joshua D. Drake" <jd@commandprompt.com> writes:
> > >> Rules are extremely slow in comparisons and not anywhere near as
> > >> flexible. As I said up post yesterday... they work well in the basic
> > >> partitioning configuration but anything else they are extremely deficient.
> > >
> > > I think that the above claim is exceedingly narrow-minded.
> >
> > We are talking about partitioning. It is supposed to be narrow-minded.
>
> Sure, but look at all the confusion we have had just on this list about
> it.  We had better state why triggers should be used in place of rules
> _for_ _partitioning_ or that confusion will continue.

Please find enclosed a patch with use cases for each.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Вложения

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: [DOCS] Partition: use triggers instead of rules
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: [DOCS] Partition: use triggers instead of rules