Re: pg_upgrade fails when extension_control_path is used

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Matheus Alcantara <matheusssilv97@gmail.com>, "Jonathan Gonzalez V." <jonathan.abdiel@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2026-03-16T10:57:14Z
Lists: pgsql-hackers
On 09.03.26 21:49, Matheus Alcantara wrote:
> 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.

committed




Commits

  1. Fix pg_upgrade failure when extension_control_path is used