Re: Adding MERGE to the TODO list (resend with subject) - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Adding MERGE to the TODO list (resend with subject)
Date
Msg-id 1084258782.4709.7.camel@localhost.localdomain
Whole thread Raw
In response to Re: Adding MERGE to the TODO list (resend with subject)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Adding MERGE to the TODO list (resend with subject)
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: Re: XLog: how to log?
Next
From: Bruce Momjian
Date:
Subject: Re: Adding MERGE to the TODO list (resend with subject)