Re: [HACKERS] INSERT ON CONFLICT and partitioned tables - Mailing list pgsql-hackers

From Amit Langote
Subject Re: [HACKERS] INSERT ON CONFLICT and partitioned tables
Date
Msg-id 9ff5515e-22b3-ead3-0410-97626657a5db@lab.ntt.co.jp
Whole thread Raw
In response to Re: [HACKERS] INSERT ON CONFLICT and partitioned tables  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2017/12/02 2:57, Robert Haas wrote:
> On Fri, Dec 1, 2017 at 2:44 AM, Amit Langote
> <Langote_Amit_f8@lab.ntt.co.jp> wrote:
>> I forgot to consider the fact that mtstate could be NULL in
>> ExecSetupPartitionTupleRouting(), so would result in dereferencing NULL
>> pointer when called from CopyFrom(), which fixed in the attached updated
>> patch.
> 
> a ? b : false can more simply be spelled a && b.
> 
> Committed after changing it like that, fixing the broken documentation
> build, and making minor edits to the comments and documentation.

Thanks for committing.

Regards,
Amit



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Postgres with pthread
Next
From: Craig Ringer
Date:
Subject: Re: Add PGDLLIMPORT lines to some variables