Re: Should shared_preload_libraries be loaded during binary upgrade? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Should shared_preload_libraries be loaded during binary upgrade?
Date
Msg-id 1591204.1746108348@sss.pgh.pa.us
Whole thread Raw
In response to Re: Should shared_preload_libraries be loaded during binary upgrade?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Should shared_preload_libraries be loaded during binary upgrade?
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> 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?

> Well, the library might be required to load the data.  Why would we
> avoid it with no known error reports?

You could invent examples that would break things in either direction.
I'm inclined to leave it alone, because right now the choice is under
the user's control: she can adjust shared_preload_libraries if needed
in either the source or target clusters.  If we try to force the
matter, then one set of problem cases is broken without recourse.

The lack of field problem reports is another good reason for not
touching this.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Should shared_preload_libraries be loaded during binary upgrade?
Next
From: Nathan Bossart
Date:
Subject: Re: Should shared_preload_libraries be loaded during binary upgrade?