Re: pg_upgrade fails when extension_control_path is used

Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>

From: "Jonathan Gonzalez V." <jonathan.abdiel@gmail.com>
To: Matheus Alcantara <matheusssilv97@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2026-03-06T12:10:12Z
Lists: pgsql-hackers

Attachments

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

Regards!
> 
-- 
Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
EnterpriseDB

Commits

  1. Fix pg_upgrade failure when extension_control_path is used