Re: Adding MERGE to the TODO list (resend with subject)

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: Adding MERGE to the TODO list (resend with subject)
Дата
Msg-id 1084258782.4709.7.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Adding MERGE to the TODO list (resend with subject)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Adding MERGE to the TODO list (resend with subject)
Список pgsql-hackers
Bruce Momjian kirjutas T, 11.05.2004 kell 00:26:
> Hannu Krosing wrote:
> > Bruce Momjian kirjutas E, 10.05.2004 kell 06:58:
> > > Added to TODO:
> > > 
> > >     * Add MERGE command that does UPDATE, or on failure, INSERT
> > 
> > perhaps the issue raised about BEFOR/AFTER INSERT/UPDATE TRIGGERS and
> > RULES should get a mention in the TODO (... needs to be discussed, or
> > somesuch ...)
> 
> Uh, what was the issue there?

I think it is not well defined, which triggers should be run. For
example, should BEFORE UPDATE trigger be run and should INSERT be done
if BEFORE UPDATE forbids UPDATE. 

Also how should the rule system act - should there be separate rules for
MERGE, or/and should MERGE be expanded by both UPDATE and INSERT rules.

---------------
Hannu



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: XLog: how to log?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Adding MERGE to the TODO list (resend with subject)