From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix ERROR message in injection_point.c |
Date: | 2024-01-23 01:49:52 |
Message-ID: | E1rS5vE-002f75-T8@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Bossart | 2024-01-23 02:45:24 | pgsql: Fix possible NULL pointer dereference in GetNamedDSMSegment(). |
Previous Message | Heikki Linnakangas | 2024-01-22 19:01:56 | pgsql: Fix two memcpy() bugs in the new injection point code |