pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marc Bachmann <marc.brookman@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: jeremy@musicsmith.net, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #16040: PL/PGSQL RETURN QUERY statement never uses a parallel plan
Date: Sun, 03 Oct 2021 13:22:48 -0400
Message-ID: <3899523.1633281768@sss.pgh.pa.us> (raw)
In-Reply-To: <3735893.1633232886@sss.pgh.pa.us>
References: <16040-eaacad11fecfb198@postgresql.org>
	<1741.1584847383@sss.pgh.pa.us>
	<CA+TgmoZvR9SP5mzH1k7MYrv3y1z4dWoJGz2z2SU-Qo1B7LrdgA@mail.gmail.com>
	<1F2F75F0-27DF-406F-848D-8B50C7EEF06A@gmail.com>
	<3735893.1633232886@sss.pgh.pa.us>

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





view thread (11+ messages)  latest in thread

Message-ID: <3899523.1633281768@sss.pgh.pa.us>
Permalink:  ../3899523.1633281768@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3899523.1633281768@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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, marc.brookman@gmail.com, robertmhaas@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16040: PL/PGSQL RETURN QUERY statement never uses a parallel plan
  In-Reply-To: <3899523.1633281768@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