Re: Remaining reference to _PG_fini() in ldap_password_func - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Remaining reference to _PG_fini() in ldap_password_func
Date
Msg-id 850a4281-fbd7-4d32-9c63-e1c6bb41e2ce@iki.fi
Whole thread Raw
Responses Re: Remaining reference to _PG_fini() in ldap_password_func
List pgsql-hackers
On 20/08/2024 07:46, Michael Paquier wrote:
> Hi all,
> 
> While hacking on a different thing, I've noticed that
> ldap_password_func had the idea to define _PG_fini().  This is
> pointless, as library unloading is not supported in the backend, and
> something that has been cleaned up from the tree in ab02d702ef08.
> That's not something to encourage, perhaps, as well..
> 
> How about removing it like in the attached to be consistent?

+1. There's also a prototype for _PG_fini() in fmgr.h, let's remove that 
too.

-- 
Heikki Linnakangas
Neon (https://neon.tech)




pgsql-hackers by date:

Previous
From: Xiaoran Wang
Date:
Subject: Re: Improve pg_re_throw: check if sigjmp_buf is valid and report error
Next
From: John Naylor
Date:
Subject: Re: Doc limitation update proposal: include out-of-line OID usage per TOAST-ed columns