Commit 9be3a4e2 authored by Tom Lane's avatar Tom Lane

Fix thinko: errmsg -> ereport.

Silly mistake in my commit 09cecdf2, 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.
parent bc4996e6
...@@ -640,9 +640,9 @@ select_perl_context(bool trusted) ...@@ -640,9 +640,9 @@ select_perl_context(bool trusted)
else else
plperl_untrusted_init(); plperl_untrusted_init();
#else #else
errmsg(ERROR, ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("cannot allocate multiple Perl interpreters on this platform"))); errmsg("cannot allocate multiple Perl interpreters on this platform")));
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment