Re: PL/Perl translation, croak - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: PL/Perl translation, croak
Date
Msg-id 20090217153135.GA3173@alvh.no-ip.org
Whole thread Raw
In response to PL/Perl translation, croak  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: PL/Perl translation, croak  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #4660: float functions return -0
Next
From: Tom Lane
Date:
Subject: Re: PL/Perl translation, croak