pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Bachmann <marc.brookman@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
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, 3 Oct 2021 20:01:56 +0200
Message-ID: <F67D5BE1-3FCA-4106-AC75-0AEF6DD9F8A2@gmail.com> (raw)
In-Reply-To: <3899523.1633281768@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>
	<3899523.1633281768@sss.pgh.pa.us>

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






view thread (11+ messages)

Message-ID: <F67D5BE1-3FCA-4106-AC75-0AEF6DD9F8A2@gmail.com>
Permalink:  ../F67D5BE1-3FCA-4106-AC75-0AEF6DD9F8A2@gmail.com/
Also on:    postgresql.org/message-id/F67D5BE1-3FCA-4106-AC75-0AEF6DD9F8A2@gmail.com

 · 

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: marc.brookman@gmail.com, tgl@sss.pgh.pa.us, 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: <F67D5BE1-3FCA-4106-AC75-0AEF6DD9F8A2@gmail.com>

* 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