Re: Prevent internal error at concurrent CREATE OR REPLACE FUNCTION - Mailing list pgsql-hackers

From Yugo Nagata
Subject Re: Prevent internal error at concurrent CREATE OR REPLACE FUNCTION
Date
Msg-id 20250527013941.eec69ad4bb9f674eee6fb99f@sraoss.co.jp
Whole thread Raw
In response to Re: Prevent internal error at concurrent CREATE OR REPLACE FUNCTION  (Jim Jones <jim.jones@uni-muenster.de>)
Responses Re: Prevent internal error at concurrent CREATE OR REPLACE FUNCTION
List pgsql-hackers
On Tue, 20 May 2025 17:30:35 +0200
Jim Jones <jim.jones@uni-muenster.de> wrote:

> I just briefly tested this patch and it seems to work as expected for
> CREATE OF REPLACE FUNCTION:

Thank you for reviewing the patch!
 
> I did the same for ALTER FUNCTION but I was unable to reproduce the
> error your reported. Could you provide your script?

I can see the error when two concurrent transactions issue
"alter function f() immutable".

Regards,
Yugo Nagata

-- 
Yugo Nagata <nagata@sraoss.co.jp>



pgsql-hackers by date:

Previous
From: Arseniy Mukhin
Date:
Subject: Re: Amcheck verification of GiST and GIN
Next
From: Daniel Gustafsson
Date:
Subject: Re: Retiring some encodings?