Re: Unexpected result from ALTER FUNCTION— looks like a bug

Julien Rouhaud <rjuju123@gmail.com>

From: Julien Rouhaud <rjuju123@gmail.com>
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:49:03Z
Lists: pgsql-general

Attachments

On Wed, Apr 20, 2022 at 10:47:07AM +0800, Julien Rouhaud wrote:
> 
> AFAICT the problem is that SET / RESET part is messing with the HeapTuple, so
> you can't use the procForm reference afterwards.  Simply processing
> parallel_item before set_items fixes the problem, as in the attached.

This time with the file.

Commits

  1. Fix breakage in AlterFunction().