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

From Dilip Kumar
Subject Re: Should shared_preload_libraries be loaded during binary upgrade?
Date
Msg-id CAFiTN-tnO7e7T=A==kihSWT9u5YvoiVbvvzikfGdOk3y6Ww+fg@mail.gmail.com
Whole thread Raw
In response to Re: Should shared_preload_libraries be loaded during binary upgrade?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, May 1, 2025 at 7:35 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> 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.

Yeah, that makes sense, so let's leave it alone.  Thanks.

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: Add an option to skip loading missing publication to avoid logical replication failure
Next
From: Tom Lane
Date:
Subject: Re: Add an option to skip loading missing publication to avoid logical replication failure