Re: Partitioning feature ...

Поиск
Список
Период
Сортировка
От Emmanuel Cecchet
Тема Re: Partitioning feature ...
Дата
Msg-id 49D0E87D.7010808@frogthinker.org
обсуждение исходный текст
Ответ на Re: Partitioning feature ...  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Список pgsql-hackers
I agree with Jaime that system triggers should execute independently of 
user triggers.
In the particular case of partitioning, the system trigger should 
execute after the user triggers. However, as the partitioning trigger is 
a row level trigger, it is not clear what is going to happen with user 
triggers that work at the statement level.

Emmanuel

Jaime Casanova wrote:
> On Mon, Mar 30, 2009 at 6:51 AM, Kedar Potdar <kedar.potdar@gmail.com> wrote:
>   
>>>   As triggers are executed in order of their names, we've prefixed the
>>> trigger names with "zz". This should work fine as long as no-one uses
>>> trigger-name which starts with "zz".
>>>
>>>       
>
> this seems a lot fragile... why system generated triggers has to be
> executed following the same rules (talking about order of execution)
> as user triggers? can't we simply execute them first or last or maybe
> be clever and mark one to be executed first and others last?
>
>   


-- 
Emmanuel Cecchet
FTO @ Frog Thinker 
Open Source Development & Consulting
--
Web: http://www.frogthinker.org
email: manu@frogthinker.org
Skype: emmanuel_cecchet



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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: gettext, plural form and translation
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: PQinitSSL broken in some use casesf