On Thu, May 1, 2025 at 11:05:56AM +0530, Dilip Kumar wrote:
> Does it make sense to load "shared_preload_libraries" during binary
> upgrade mode?
>
> An extension might unintentionally interfere with pg_upgrade, for
> example, by connecting to the 'postgres' database, which can cause the
> upgrade to fail as the restore needs to drop that database. While it's
> true that extensions should ideally handle this themselves, wouldn't
> it be safer if we could avoid loading them at all during the binary
> upgrade mode?
Well, the library might be required to load the data. Why would we
avoid it with no known error reports?
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Do not let urgent matters crowd out time for investment in the future.