pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: cyg0810@gmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #17117: FailedAssertion at planner.c
Date: Thu, 22 Jul 2021 10:50:18 -0400
Message-ID: <781665.1626965418@sss.pgh.pa.us> (raw)
In-Reply-To: <CAApHDvqy1GPi3OYXVXKH3hLpiNp9FdRHjQj=3cp-vhWt94Y0Nw@mail.gmail.com>
References: <17117-e7ed6c3108953c08@postgresql.org>
	<CAApHDvorY9UMz1N4B81Qu7nKc8hD0XvE3Fm0ux-dx+81F_rgxg@mail.gmail.com>
	<CAApHDvqy1GPi3OYXVXKH3hLpiNp9FdRHjQj=3cp-vhWt94Y0Nw@mail.gmail.com>

David Rowley <dgrowleyml@gmail.com> writes:
>  On Fri, 23 Jul 2021 at 00:28, David Rowley <dgrowleyml@gmail.com> wrote:
>> I'm unsure if parse->hasModifyingCTE is not being set properly and
>> that's causing PlannerGlobal.parallelModeOK to be set incorrectly in
>> standard_planner or if we should just be never setting anything to
>> parallelModeOK that's not parse->querySource == QSRC_ORIGINAL.

> I think the hasModifyingCTE going missing is the problem here.

I think this is a dup of the ongoing discussion at

https://www.postgresql.org/message-id/flat/CAJcOf-fAdj=nDKMsRhQzndm-O13NY4dL6xGcEvdX5Xvbbi0V7g@mail....

The thing that's stalled that discussion is disagreement over whether
it's necessary to make a bigger change than what you have here.

			regards, tom lane





view thread (4+ messages)

Message-ID: <781665.1626965418@sss.pgh.pa.us>
Permalink:  ../781665.1626965418@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/781665.1626965418@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dgrowleyml@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17117: FailedAssertion at planner.c
  In-Reply-To: <781665.1626965418@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox