From bb8b17960386e7026c4b5a63419752f310fa386a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 19 Nov 2015 14:16:39 -0500 Subject: [PATCH] Fix thinko: errmsg -> ereport. Silly mistake in my commit 09cecdf285ea9f51, reported by Erik Rijkers. The fact that the buildfarm didn't find this implies that we are not testing Perl builds that lack MULTIPLICITY, which is a bit disturbing from a coverage standpoint. Until today I'd have said nobody cared about such configurations anymore; but maybe not. --- src/pl/plperl/plperl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c index eb25ffae939..549034f7640 100644 --- a/src/pl/plperl/plperl.c +++ b/src/pl/plperl/plperl.c @@ -640,9 +640,9 @@ select_perl_context(bool trusted) else plperl_untrusted_init(); #else - errmsg(ERROR, - (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("cannot allocate multiple Perl interpreters on this platform"))); + ereport(ERROR, + (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), + errmsg("cannot allocate multiple Perl interpreters on this platform"))); #endif } -- 2.39.5