Re: Inadequate parallel-safety check for SubPlans

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Noah Misch <noah@leadboat.com>, Robert Haas <robertmhaas@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-04-17T05:24:01Z
Lists: pgsql-hackers
Amit Kapila <amit.kapila16@gmail.com> writes:
> On Sun, Apr 16, 2017 at 9:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> FYI, I have this on my to-look-at list, and expect to fix it before Robert
>> returns from vacation.

> Let me know if an initial patch by someone else can be helpful?

Sure, have a go at it.  I won't get to this for a day or so ...

> I was not completely sure whether we need to pass any sort of whitelist
> of params for parallel safety, but if you think that is the better way
> to go, I can give it a try.

There's certainly more than one way to do it.

			regards, tom lane


Commits

  1. Fix testing of parallel-safety of SubPlans.