Re: [HACKERS] Re: [COMMITTERS] pgsql: Redefine _() to dgettext()instead of gettext() so that it uses

2009-03-08 Thread Alvaro Herrera
Hiroshi Saito wrote: > Hi Alvaro-san. > > Yeah, It seems that it saves also except pl. then, It also regards me as very > good. > I tested just now, of course, it is very comfortable. :-) Thanks, Hiroshi-san. I just applied that last version. -- Alvaro Herreraht

Re: [HACKERS] Re: [COMMITTERS] pgsql: Redefine _() to dgettext()instead of gettext() so that it uses

2009-03-07 Thread Hiroshi Saito
Hi Alvaro-san. Yeah, It seems that it saves also except pl. then, It also regards me as very good. I tested just now, of course, it is very comfortable. :-) == try == C:\work>psql -e -f plpgsql_test.sql show client_encoding; client_encoding - latin1 (1 row) show server_encodin

Re: [HACKERS] Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses

2009-03-07 Thread Alvaro Herrera
Tom Lane wrote: > Alvaro Herrera writes: > > Understood. In fact, after having a look at this patch and giving it a > > little refactoring I think it's pretty obvious; right now we're calling > > bind_textdomain_codeset only for the main domain, and with this patch we > > also set it for all othe

Re: [HACKERS] Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses

2009-03-07 Thread Tom Lane
Alvaro Herrera writes: > Understood. In fact, after having a look at this patch and giving it a > little refactoring I think it's pretty obvious; right now we're calling > bind_textdomain_codeset only for the main domain, and with this patch we > also set it for all other domains we use. > Does

Re: [HACKERS] Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses

2009-03-07 Thread Alvaro Herrera
Hiroshi Saito wrote: > Hi. > > Ummm, I present is not understood by the reason of Japanese. ... > Therefore, It was made into the Spanish case. I know that Alvaro-san will > understand Spanish well. > > ==postgresql.conf== > lc_messages= 'es' > > server.log of a patch before and after was appl

Re: [HACKERS] Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses

2009-03-07 Thread Hiroshi Saito
Hi. Ummm, I present is not understood by the reason of Japanese. ... Therefore, It was made into the Spanish case. I know that Alvaro-san will understand Spanish well. ==postgresql.conf== lc_messages= 'es' server.log of a patch before and after was applied. Please see it. Regards, Hiro

Re: [HACKERS] Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses

2009-03-02 Thread Hiroshi Saito
Hi Peter-san. I see the problem for being an original domain in plpgsql. It differs from what codeset meant at postmaster by Japanese windows Please see, this look at the problem on which SJIS enters into a message. http://winpg.jp/~saito/pg_work/LC_MESSAGE_CHECK/plpgsql/before_plpgsql_serv

Re: [HACKERS] Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses

2009-02-18 Thread Peter Eisentraut
Alvaro Herrera wrote: Peter Eisentraut wrote: Log Message: --- Redefine _() to dgettext() instead of gettext() so that it uses the plpgsql text domain, instead of the postgres one (or whatever the default may be). Hmm, so is this needed on all other PLs too? In principle yes. Or cal

[HACKERS] Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses

2009-02-17 Thread Alvaro Herrera
Peter Eisentraut wrote: > Log Message: > --- > Redefine _() to dgettext() instead of gettext() so that it uses the plpgsql > text domain, instead of the postgres one (or whatever the default may be). Hmm, so is this needed on all other PLs too? -- Sent via pgsql-hackers mailing list (pgs