Re: archive modules

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: talk to ben <blo(dot)talkto(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, "Bossart, Nathan" <bossartn(at)amazon(dot)com>, David Steele <david(at)pgmasters(dot)net>, Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Michael Paquier <michael(at)paquier(dot)xyz>, Magnus Hagander <magnus(at)hagander(dot)net>, Stephen Frost <sfrost(at)snowman(dot)net>
Subject: Re: archive modules
Date: 2022-08-24 22:17:23
Message-ID: 20220824221723.GA1347845@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 24, 2022 at 10:05:55AM +0200, talk to ben wrote:
> This view does not display <link linkend="runtime-config-custom">customized options</link>
> - until the extension module that defines them has been loaded.
> + until the extension module that defines them has been loaded. Therefore, any
> + option defined in a library that is dynamically loaded in a separate process
> + will not be visible in the view, unless the module is manually loaded
> + beforehand. This case applies for example to an archive module loaded by the
> + archiver process.

I would suggest something like:

This view does not display customized options until the extension
module that defines them has been loaded by the backend process
executing the query (e.g., via shared_preload_libraries, the LOAD
command, or a call to a user-defined C function). For example, since
the archive_library is only loaded by the archiver process, this view
will not display any customized options defined by archive modules
unless special action is taken to load them into the backend process
executing the query.

--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhihong Yu 2022-08-24 22:47:54 Re: POC PATCH: copy from ... exceptions to: (was Re: VLDB Features)
Previous Message Gurjeet Singh 2022-08-24 21:59:12 pg_regress: lookup shellprog in $PATH