*** pgsql/src/pl/plperl/plperl.c 2008/11/19 01:10:24 1.142 --- pgsql/src/pl/plperl/plperl.c 2008/12/11 07:34:09 1.143 *************** *** 1,7 **** /********************************************************************** * plperl.c - perl as a procedural language for PostgreSQL * ! * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.141 2008/10/29 00:00:39 tgl Exp $ * **********************************************************************/ --- 1,7 ---- /********************************************************************** * plperl.c - perl as a procedural language for PostgreSQL * ! * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.142 2008/11/19 01:10:24 tgl Exp $ * **********************************************************************/ *************** *** 32,38 **** /* define our text domain for translations */ #undef TEXTDOMAIN ! #define TEXTDOMAIN "plperl" /* perl stuff */ #include "plperl.h" --- 32,38 ---- /* define our text domain for translations */ #undef TEXTDOMAIN ! #define TEXTDOMAIN PG_TEXTDOMAIN("plperl") /* perl stuff */ #include "plperl.h" *************** _PG_init(void) *** 190,196 **** if (inited) return; ! set_text_domain(TEXTDOMAIN); DefineCustomBoolVariable("plperl.use_strict", gettext_noop("If true, will compile trusted and untrusted perl code in strict mode"), --- 190,196 ---- if (inited) return; ! pg_bindtextdomain(TEXTDOMAIN); DefineCustomBoolVariable("plperl.use_strict", gettext_noop("If true, will compile trusted and untrusted perl code in strict mode"),