Hi Jeremy,
Thanks for solving the mystery. I think this might be a missing point in section 15.2 in the docs.
I wonder will this ever be improved or should I just write to temporary tables instead of return query?
Best regards,
Alastair
From: Jeremy Smith <jeremy@xxxxxxxxxxxxxx>
Sent: 21 March 2020 20:50 To: Alastair McKinley <a.mckinley@xxxxxxxxxxxxxxxxxxxx> Cc: Adrian Klaver <adrian.klaver@xxxxxxxxxxx>; pgsql-general@xxxxxxxxxxxxxxxxxxxx <pgsql-general@xxxxxxxxxxxxxxxxxxxx> Subject: Re: Explain says 8 workers planned, only 1 executed Unfortunately, return query will never use parallel workers. See: https://stackoverflow.com/q/58079898/895640 and https://www.postgresql.org/message-id/16040-eaacad11fecfb198@xxxxxxxxxxxxxx
On Sat, Mar 21, 2020 at 1:59 PM Alastair McKinley <a.mckinley@xxxxxxxxxxxxxxxxxxxx> wrote:
|