Re: [HACKERS] MERGE SQL Statement for PG11 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] MERGE SQL Statement for PG11
Date
Msg-id 5333.1517244602@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] MERGE SQL Statement for PG11  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [HACKERS] MERGE SQL Statement for PG11
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> On Mon, Jan 29, 2018 at 04:34:48PM +0000, Simon Riggs wrote:
>> ... If unfinished means it has caveats
>> that is different to unfinished meaning crappy, risky, contentious
>> etc..

> I think the question is how does it handle cases it doesn't support? 
> Does it give wrong answers?  Does it give a helpful error message?  Can
> you summarize that?

What I was reacting to was the comments just upthread that it doesn't
yet handle partitions or RLS.  Those things don't seem optional to me.
Maybe they're small additions, but if so why aren't they done already?

Also, as far as phased development goes: Simon's drawing analogies
to things like parallel query, which we all understood had to be
done over multiple dev cycles because they were too big to finish
in one cycle.  I don't think MERGE qualifies: there seems no good
reason why it can't be done, full stop, in the first release where
it appears.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Re: [HACKERS] Secondary index access optimizations
Next
From: Simon Riggs
Date:
Subject: Re: [HACKERS] MERGE SQL Statement for PG11