pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Andrei Lepikhov <lepihov@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Euler Taveira <euler@eulerto.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Add Postgres module info
Date: Thu, 12 Dec 2024 11:56:12 -0500
Message-ID: <659971.1734022572@sss.pgh.pa.us> (raw)
In-Reply-To: <bug66mddax5rqpf5q2j4gp25jdxnppzqobw7l4jhcsvcrmpq7d@cvdqkhqmmgfd>
References: <dd4d1b59-d0fe-49d5-b28f-1e463b68fa32@gmail.com>
	<506788.1733941263@sss.pgh.pa.us>
	<2qdclwljzvw5abfvo4porr3ehox32icrbtfjaum327ruxts6qm@udexcbweewpq>
	<e0e12947-6dfb-4c3a-b6ad-5682a880cda4@app.fastmail.com>
	<556165.1733967268@sss.pgh.pa.us>
	<Z1pXd_dleBGIiVR3@paquier.xyz>
	<570943.1733974778@sss.pgh.pa.us>
	<Z1pcItMVcXCInp_v@paquier.xyz>
	<a0872eec-1596-466f-8e15-0540a29528c4@gmail.com>
	<bug66mddax5rqpf5q2j4gp25jdxnppzqobw7l4jhcsvcrmpq7d@cvdqkhqmmgfd>

Andres Freund <andres@anarazel.de> writes:
> On 2024-12-12 11:35:56 +0700, Andrei Lepikhov wrote:
>> I want to say that 'cannot unload libraries' is a negative outcome of the
>> architecture. It would be better to invent something like PG_unregister,
>> allowing libraries to at least return a hook routine call back to the
>> system.

> I am quite certain we'll not support unloading libraries anytime soon. We used
> to support it and it caused problems... Changing anything about how exactly
> things are tracked in dfmgr.c will be the smallest part of supporting
> unloading libraries again.

Indeed.  However, I don't see what that has to do with the current
discussion anyway.  The proposed SRF would iterate through whatever
is in the DynamicFileList.  What does it care whether there's a way
to add or remove entries?

			regards, tom lane





view thread (52+ messages)  latest in thread

Message-ID: <659971.1734022572@sss.pgh.pa.us>
Permalink:  ../659971.1734022572@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/659971.1734022572@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, lepihov@gmail.com, michael@paquier.xyz, euler@eulerto.com
  Subject: Re: Add Postgres module info
  In-Reply-To: <659971.1734022572@sss.pgh.pa.us>
  References: <dd4d1b59-d0fe-49d5-b28f-1e463b68fa32@gmail.com> <506788.1733941263@sss.pgh.pa.us> <2qdclwljzvw5abfvo4porr3ehox32icrbtfjaum327ruxts6qm@udexcbweewpq> <e0e12947-6dfb-4c3a-b6ad-5682a880cda4@app.fastmail.com> <556165.1733967268@sss.pgh.pa.us> <Z1pXd_dleBGIiVR3@paquier.xyz> <570943.1733974778@sss.pgh.pa.us> <Z1pcItMVcXCInp_v@paquier.xyz> <a0872eec-1596-466f-8e15-0540a29528c4@gmail.com> <bug66mddax5rqpf5q2j4gp25jdxnppzqobw7l4jhcsvcrmpq7d@cvdqkhqmmgfd> <659971.1734022572@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox