pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alastair McKinley <a.mckinley@analyticsengines.com>
Cc: Jeremy Smith <jeremy@musicsmith.net>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Explain says 8 workers planned, only 1 executed
Date: Sat, 21 Mar 2020 23:25:53 -0400
Message-ID: <1854.1584847553@sss.pgh.pa.us> (raw)
In-Reply-To: <PR1PR02MB5340933933DBF5CA6515F3A4E3F20@PR1PR02MB5340.eurprd02.prod.outlook.com>
References: <PR1PR02MB53402C4211AF7D57CAF00270E3F20@PR1PR02MB5340.eurprd02.prod.outlook.com>
	<a59d2e50-f04d-8b35-43ea-83908b5c0839@aklaver.com>
	<PR1PR02MB5340297C92596DFB719824ACE3F20@PR1PR02MB5340.eurprd02.prod.outlook.com>
	<CAM8SmLUnfhspwf9ic8cR-UMPgHLxOwiQ7-Jz_tKgTJSt7Tvcwg@mail.gmail.com>
	<PR1PR02MB5340933933DBF5CA6515F3A4E3F20@PR1PR02MB5340.eurprd02.prod.outlook.com>

Alastair McKinley <a.mckinley@analyticsengines.com> writes:
> 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?

I just posted a patch to improve that [1], but it's not something we'd be
likely to back-patch into existing releases.

			regards, tom lane

[1] https://www.postgresql.org/message-id/1741.1584847383%40sss.pgh.pa.us





view thread (6+ messages)

Message-ID: <1854.1584847553@sss.pgh.pa.us>
Permalink:  ../1854.1584847553@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1854.1584847553@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, a.mckinley@analyticsengines.com, jeremy@musicsmith.net, adrian.klaver@aklaver.com
  Subject: Re: Explain says 8 workers planned, only 1 executed
  In-Reply-To: <1854.1584847553@sss.pgh.pa.us>
  References: <PR1PR02MB53402C4211AF7D57CAF00270E3F20@PR1PR02MB5340.eurprd02.prod.outlook.com> <a59d2e50-f04d-8b35-43ea-83908b5c0839@aklaver.com> <PR1PR02MB5340297C92596DFB719824ACE3F20@PR1PR02MB5340.eurprd02.prod.outlook.com> <CAM8SmLUnfhspwf9ic8cR-UMPgHLxOwiQ7-Jz_tKgTJSt7Tvcwg@mail.gmail.com> <PR1PR02MB5340933933DBF5CA6515F3A4E3F20@PR1PR02MB5340.eurprd02.prod.outlook.com> <1854.1584847553@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox