Re: Re: Unexpected result from ALTER FUNCTION— looks like a bug
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: Bryn Llewellyn <bryn@yugabyte.com>,
pgsql-general list <pgsql-general@lists.postgresql.org>
Date: 2022-04-20T02:39:37Z
Lists: pgsql-general
"David G. Johnston" <david.g.johnston@gmail.com> writes: > On Tue, Apr 19, 2022 at 7:07 PM Bryn Llewellyn <bryn@yugabyte.com> > wrote: >> This is the bug. > While I haven't experimented with this for confirmation, what you are > proposing here (set + parallel safe) is an impossible runtime > combination (semantic rule) but perfectly valid to write syntactically. I'm not sure that that's actually disallowed. In any case, Bryn's right, the combination of a SET clause and a PARALLEL clause is implemented incorrectly in AlterFunction. Careless coding :-( regards, tom lane
Commits
-
Fix breakage in AlterFunction().
- f583633bc130 13.7 landed
- 9130f8cbb919 11.16 landed
- 481a99811a41 12.11 landed
- 409bcfda6bd6 10.21 landed
- 344a225cb9d4 15.0 landed
- 08a9e7a8c791 14.3 landed