From: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
---|---|
To: | Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> |
Cc: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] INSERT ON CONFLICT and partitioned tables |
Date: | 2017-12-01 02:27:45 |
Message-ID: | CANP8+jL_BD15fAGYrD9cT3Qb85G7sU-eX6EhTK3RWVRgeWiucQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 24 November 2017 at 13:45, Amit Langote
<Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> wrote:
>> Why? There is no caller that needs information.
>
> It is to be used if and when ExecInsert() calls
> ExecCheckIndexConstraints() in the code path to handle ON CONFLICT DO
> NOTHING that we're intending to support in some cases. Note that it will
> only check conflicts for the individual leaf partitions using whatever
> constraint-enforcing indexes they might have.
So we should have 2 patches. One for now that does DO NOTHING and
another that adds the change that depends upon Alvaro's work.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-12-01 02:48:48 | Re: Use of uninitialized variables in ExecFindPartition() for parent partition without leaves (HEAD only) |
Previous Message | Michael Paquier | 2017-12-01 02:11:14 | Re: [JDBC] [HACKERS] Channel binding support for SCRAM-SHA-256 |