Re: archive modules - Mailing list pgsql-hackers

From Robert Haas
Subject Re: archive modules
Date
Msg-id CA+TgmoZfft6oCGYP3agn_Y_v3KPBauBZG60tfTm=_kke+xfvaw@mail.gmail.com
Whole thread Raw
In response to Re: archive modules  ("Bossart, Nathan" <bossartn@amazon.com>)
Responses Re: archive modules
List pgsql-hackers
On Tue, Nov 2, 2021 at 11:26 AM Bossart, Nathan <bossartn@amazon.com> wrote:
> Well, the current patch does require a reload since the modules are
> preloaded, but maybe there is some way to avoid that.

I think we could set things up so that if the value changes, you call
a shutdown hook for the old library, load the new one, and call any
startup hook for that one.

That wouldn't work with a hook-based approach.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Gilles Darold
Date:
Subject: Re: [PATCH] fix references to like_regex
Next
From: Peter Geoghegan
Date:
Subject: Re: should we enable log_checkpoints out of the box?