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

2025-05-20 Thread DIPESH DHAMELIYA
> On Tue, May 20, 2025 at 11:57 AM Dilip Kumar wrote: > > On Mon, May 5, 2025 at 11:19 AM DIPESH DHAMELIYA > wrote: > > > > Hello everyone, > > > > With the commit 556f7b7bc18d34ddec45392965c3b3038206bb62, Any plpgsql > > function that returns scalar

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

2025-05-04 Thread DIPESH DHAMELIYA
Hello everyone, With the commit 556f7b7bc18d34ddec45392965c3b3038206bb62, Any plpgsql function that returns scalar value would not be able to use parallelism to evaluate a return statement. It will not be considered for parallel execution because we are passing maxtuples = 2 to exec_run_select fro