On Sun, Feb 26, 2017 at 11:15 PM, Robert Haas <robertmh...@gmail.com> wrote: > On Mon, Feb 20, 2017 at 7:52 AM, Amit Kapila <amit.kapil...@gmail.com> wrote: > >> The main point is if we >> keep any loose end in this area, then there is a chance that the >> regression test select_parallel can still fail, if not now, then in >> future. Another way could be that we can try to minimize the race >> condition here and then adjust the select_parallel as suggested above >> so that we don't see this failure. > > My guess is that if we apply the fix I suggested above, it'll be good > enough. If that turns out not to be true, then I guess we'll have to > deal with that, but why not do the easy thing first? >
Okay, that is also a sensible approach. Your patch looks good to me, though I have not tested it. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers