On Sat, May 7, 2016 at 9:07 AM, Amit Kapila <amit.kapil...@gmail.com> wrote: > From the above output it is clear that parallel restricted function is > pushed down below gather node. I found that though we have have care fully > avoided to push pathtarget below GatherPath in apply_projection_to_path() if > pathtarget contains any parallel unsafe or parallel restricted clause, but > we are separately also trying to apply pathtarget to partialpath list which > doesn't seem to be the correct way even if it is required. I think this has > been added during parallel aggregate patch and it seems to me this is not > required after the changes related to GatherPath in > apply_projection_to_path().
Good catch. Committed. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers