Skip to content

Commit bb8b179

Browse files
committed
Fix thinko: errmsg -> ereport.
Silly mistake in my commit 09cecdf, 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.
1 parent 3f222b6 commit bb8b179

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pl/plperl/plperl.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,9 +640,9 @@ select_perl_context(bool trusted)
640640
else
641641
plperl_untrusted_init();
642642
#else
643-
errmsg(ERROR,
644-
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
645-
errmsg("cannot allocate multiple Perl interpreters on this platform")));
643+
ereport(ERROR,
644+
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
645+
errmsg("cannot allocate multiple Perl interpreters on this platform")));
646646
#endif
647647
}
648648

0 commit comments

Comments
 (0)