Re: PL/Perl translation, croak

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL/Perl translation, croak
Date: 2009-02-17 15:31:35
Message-ID: 20090217153135.GA3173@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> plperl's nls.mk contains
>
> GETTEXT_TRIGGERS:= _ errmsg errdetail errdetail_log errhint errcontext
> write_stderr croak Perl_croak
>
> As far as I can tell, croak() and Perl_croak() are provided by the Perl
> library. So it is quite unclear to me how we expect their argument
> strings to be translated using our message catalogs. Is this unfinished
> business or is there some mechanism here that I'm not seeing?

IIRC I just added them because we have a couple of error messages that
are output with Perl_croak and one with croak. Does it fail to work? I
don't remember if I actually tested it.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2009-02-17 15:33:51 Re: differnce from ansi sql standard - unicode strings?
Previous Message Peter Eisentraut 2009-02-17 15:09:52 Re: differnce from ansi sql standard - unicode strings?