Re: [PATCH] Allow parallelism for plpgsql return expression after commit 556f7b7

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Cc: DIPESH DHAMELIYA <dipeshdhameliya125(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Allow parallelism for plpgsql return expression after commit 556f7b7
Date: 2025-07-07 18:36:53
Message-ID: 490686.1751913413@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dilip Kumar <dilipbalaut(at)gmail(dot)com> writes:
> On Fri, Jul 4, 2025 at 9:56 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> So on the whole it seems like a research project requiring nontrivial
>> effort and probably yielding only marginal gains. It's certainly not
>> going to yield a back-patchable fix for this performance regression.

> Yeah that's correct.

OK. I pushed the one-liner (plus comment) fix. If anyone does
feel like looking into allowing subplans to run in parallel in
this context, it's not stopping them from doing so.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Borisov 2025-07-07 18:44:03 Re: Improve the performance of Unicode Normalization Forms.
Previous Message Jim Jones 2025-07-07 18:09:31 Re: Allow ON CONFLICT DO UPDATE to return EXCLUDED values