From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix ERROR message in injection_point.c
Date: Tue, 23 Jan 2024 01:49:52 +0000
Message-ID: <E1rS5vE-002f75-T8@gemulon.postgresql.org> (raw)
Fix ERROR message in injection_point.c
This commit fixes an error message that failed to show the correct
function and library names when a function cannot be loaded.
While on it, adjust the call to load_external_function() so as this
ERROR can be reached, by making load_external_function() return NULL
rather than fail if a function cannot be found for a given injection
point.
Thinkos in d86d20f0ba79.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/cdd863480c27b406ac14e94f1fe122b98ea562b4
Modified Files
--------------
src/backend/utils/misc/injection_point.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix ERROR message in injection_point.c
In-Reply-To: <E1rS5vE-002f75-T8@gemulon.postgresql.org>
* 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