Re: BUG #16040: PL/PGSQL RETURN QUERY statement never uses a parallel plan - Mailing list pgsql-bugs

From Marc Bachmann
Subject Re: BUG #16040: PL/PGSQL RETURN QUERY statement never uses a parallel plan
Date
Msg-id F67D5BE1-3FCA-4106-AC75-0AEF6DD9F8A2@gmail.com
Whole thread Raw
In response to Re: BUG #16040: PL/PGSQL RETURN QUERY statement never uses a parallel plan  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I’m happy to help.
And sorry that you had to go through that many changes right after the release.

Kind regards
Marc

> On 3 Oct 2021, at 19:22, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> I wrote:
>> Marc Bachmann <marc.brookman@gmail.com> writes:
>>> A function that inserts data and tries to return with a table now results in the error `query is not a SELECT`.
>>> In previous versions that query succeeded.
>
>> Hmm ... I'm a bit surprised that that worked before, but since it did,
>> we shouldn't break it.
>
> Fix pushed, thanks for the report!
>
>             regards, tom lane




pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #16040: PL/PGSQL RETURN QUERY statement never uses a parallel plan
Next
From: David.Oberg
Date:
Subject: Repo error for pgdg14