On Thu, Jul 16, 2015 at 2:02 AM, Robert Haas <robertmh...@gmail.com> wrote: > > exec_stmt_execsql is called by exec_stmt_open and exec_stmt_forc. > Those are cursor operations and thus - I think - parallelism can't be > used there.
Right, but it also gets called from exec_stmt where a parallel-safe statement could be passed to it. So it seems to me that we should enable parallelism for that path in code. With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com