Re: Parallel safety docs for CTEs

From: James Coleman <jtc331(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Parallel safety docs for CTEs
Date: 2025-03-12 17:11:06
Message-ID: CAAaqYe_vKTjY-ZjNGMJmSAGJWeBeS+afRi2fAWa5rpBx1QAXhQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 19, 2024 at 2:16 PM James Coleman <jtc331(at)gmail(dot)com> wrote:
>
> Hello,
>
> A colleague noticed today that the docs still say that "Scans of
> common table expressions (CTEs)" are "always parallel restricted".
>
> While I think that strictly remains true at the implementation level,
> from a user's perspective I think that's not been true since the
> change to default to trying to inline CTEs rather than defaulting to
> materializing them.
>
> Attached is a patch to slightly modify the language; would be happy to
> hear suggestions on a better way to improve this.
>
> Regards,
> James Coleman

I'd forgotten to make a commit fest record for this and stumbled upon
it today. See https://commitfest.postgresql.org/patch/5650/

Regards,
James Coleman

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Devulapalli, Raghuveer 2025-03-12 17:49:50 RE: CRC32C Parallel Computation Optimization on ARM
Previous Message Andres Freund 2025-03-12 17:06:03 Re: AIO v2.5