Re: plpgsql is not translate-aware - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: plpgsql is not translate-aware
Date
Msg-id 20080905160343.GD4353@alvh.no-ip.org
Whole thread Raw
In response to plpgsql is not translate-aware  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: plpgsql is not translate-aware  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Alvaro Herrera wrote:

> It doesn't seem hard to add; I just had to create a nls.mk file and
> things seem ready to go.  Obviously, we'll need to add plpgsql to the
> pgtranslation files in pgfoundry.

Actually this is wrong -- since the library is going to run with
"postgres" text domain, we need to add the files to the backend's
nls.mk:


Index: nls.mk
===================================================================
RCS file: /home/alvherre/Code/cvs/pgsql/src/backend/nls.mk,v
retrieving revision 1.22
diff -c -p -u -r1.22 nls.mk
--- nls.mk    24 Mar 2008 18:08:47 -0000    1.22
+++ nls.mk    5 Sep 2008 16:00:18 -0000
@@ -7,7 +7,7 @@ GETTEXT_FILES    := + gettext-filesGETTEXT_TRIGGERS:= _ errmsg errdetail errdetail_log errhint
errcontextwrite_stderr yyerrorgettext-files: distprep
 
-    find $(srcdir)/ $(srcdir)/../port/ -name '*.c' -print >$@
+    find $(srcdir)/ $(srcdir)/../port/ $(srcdir)/../pl/ -name '*.c' -print >$@my-maintainer-clean:    rm -f
gettext-files

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: "Brendan Jurd"
Date:
Subject: Re: [Review] pgbench duration option
Next
From: Tom Lane
Date:
Subject: Re: plpgsql is not translate-aware