Re: force parallel mode vs CTAS

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, tcook@blackducksoftware.com, Haribabu Kommi <kommi.haribabu@gmail.com>
Date: 2017-12-21T16:13:57Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Ack, sorry, I replied on the original thread, not realizing there was
> a second one.  Basically, I think the assertion is wrong-headed and
> can be adjusted so it doesn't fail, and I attached a patch over there.

Yeah, I saw.  Looks plausible to me, but I haven't studied the fine points
of the parallelism code enough to be confident in saying it's good.

			regards, tom lane


Commits

  1. Adjust assertion in GetCurrentCommandId.

  2. Allow DML commands that create tables to use parallel query.