orderRules() now a bad idea?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема orderRules() now a bad idea?
Дата
Msg-id 22454.1034622788@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: orderRules() now a bad idea?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
I just noticed that rewriteHandler.c contains a subroutine orderRules()
that reorders the rules for a relation into the ordernon-instead rulesqualified instead rulesunqualified instead rules
This conflicts with the feature we'd added to 7.3 to fire rules in
alphabetical order.  (What will presently happen is they'll be fired
alphabetically in each of these categories.)

I see that the logic in fireRules() assumes that rules are processed in
this order, but that would be fairly easy to fix.  Is there any other
good reason for doing this reordering?  I'd like to remove orderRules()
and implement straight alphabetical ordering.
        regards, tom lane


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

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: Anyone want to assist with the translation of the Advocacy
Следующее
От: "David De Graff"
Дата:
Сообщение: Postgres-based system to run .org registry?