Re: pg_upgrade fails when extension_control_path is used

Matheus Alcantara <matheusssilv97@gmail.com>

From: Matheus Alcantara <matheusssilv97@gmail.com>
To: "Jonathan Gonzalez V." <jonathan.abdiel@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2026-03-09T20:49:35Z
Lists: pgsql-hackers
On 06/03/26 09:10, Jonathan Gonzalez V. wrote:
> Hello!
> 
>>   that the code comment on function.c can be
>> similar to what we have on load_external_function():
>>
>>    /*
>>    * For extensions with hardcoded '$libdir/' library names, we
>>    * strip the prefix to allow the library search path to be used.
>>    */
>>
>>>
> I'm attaching a v3 with an improved messages
> 
> Also updated the reviewers list on the message
> 

Thanks for updating the patch, it looks good to me and fix the 
described issue.

--
Matheus Alcantara
EDB: https://www.enterprisedb.com



Commits

  1. Fix pg_upgrade failure when extension_control_path is used