Re: Fix erroneous parallel execution when modifying CTE is present in rewritten query - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix erroneous parallel execution when modifying CTE is present in rewritten query
Date
Msg-id 3431784.1631117504@sss.pgh.pa.us
Whole thread Raw
In response to Fix erroneous parallel execution when modifying CTE is present in rewritten query  (Greg Nancarrow <gregn4422@gmail.com>)
List pgsql-hackers
Greg Nancarrow <gregn4422@gmail.com> writes:
> [ v1-0001-Propagate-CTE-property-flags-when-copying-a-CTE-list.patch ]

Pushed with a couple of adjustments:

* I rewrote the comment, mostly so as to include an explanation of how
the error could be removed, in case anyone ever wants to go to the
trouble.

* The existing test case can be fixed up without fundamentally changing
what it's testing, by replacing INSERT...SELECT with INSERT...VALUES.
(That should likely also be our first suggestion to any complainers.)

Thanks for the patch!

            regards, tom lane



pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: VARDATA_COMPRESSED_GET_COMPRESS_METHOD comment?
Next
From: Ranier Vilela
Date:
Subject: Re: Migração Postgresql 8.3 para versão Postgresql 9.3