summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2015-11-19 19:16:39 +0000
committerTom Lane2015-11-19 19:16:39 +0000
commit9be3a4e24dc777e31f6358907ebefac841ea2632 (patch)
treef031f824b346fb16dd1aed9d988b5cfaa8fecb3d
parentbc4996e61b98d41eacf991c18508b7a2305a68c6 (diff)
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.
-rw-r--r--src/pl/plperl/plperl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c
index 65f2d242a0..87dc6f0c3b 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
}