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

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Bryn Llewellyn <bryn(at)yugabyte(dot)com>, pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Unexpected result from ALTER FUNCTION— looks like a bug
Date: 2022-04-20 02:49:03
Message-ID: 20220420024903.j25vrhfqtfi6zkzt@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Attachment Content-Type Size
fix_alter_function.diff text/plain 798 bytes

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2022-04-20 03:06:30 Re: Unexpected result from ALTER FUNCTION— looks like a bug
Previous Message Julien Rouhaud 2022-04-20 02:47:07 Re: Unexpected result from ALTER FUNCTION— looks like a bug