Re: [HACKERS] Gather Merge - Mailing list pgsql-hackers

From Rushabh Lathia
Subject Re: [HACKERS] Gather Merge
Date
Msg-id CAGPqQf0m8=NCkpCEijFBW0ojFV=g3sK20PbP_VYPkXSkMSDPSg@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Gather Merge  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [HACKERS] Gather Merge  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers


On Thu, Mar 9, 2017 at 8:40 AM, Robert Haas <robertmhaas@gmail.com> wrote:
On Mon, Feb 20, 2017 at 1:35 AM, Rushabh Lathia
<rushabh.lathia@gmail.com> wrote:
> Thanks Amit for raising this point. I was not at all aware of mark/restore.
> I tried to come up with the case, but haven't found such case.
>
> For now here is the patch with comment update.

Sorry for the delay in getting back to this.  This seems to need minor
rebasing again.


Done.
 
A few other points:

ExecEndGatherMerge needs to be patched along the lines of
acf555bc53acb589b5a2827e65d655fa8c9adee0.


Done.
 
@@ -2290,7 +2376,6 @@ create_limit_plan(PlannerInfo *root, LimitPath
*best_path, int flags)
     return plan;
 }

-
 /*****************************************************************************
  *
  *  BASE-RELATION SCAN METHODS

Unnecessary.

Fixed.

Here is another version of patch with the suggested changes.
 

Thanks,
 
Rushabh Lathia
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgsql-hackers by date:

Previous
From: "Okano, Naoki"
Date:
Subject: Re: [HACKERS] Adding the optional clause 'AS' in CREATE TRIGGER
Next
From: Ashutosh Bapat
Date:
Subject: Re: [HACKERS] Foreign Join pushdowns not working properly for outer joins