Re: [BUGS] BUG #7664: Program using libpq and ecpglib can not output native language

2012-11-16 Thread Chen Huajun
normally native language only needed for error message outputing where I think performance is not so important. Regards chen huajun -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #7664: Program using libpq and ecpglib can not output native language

2012-11-16 Thread Chen Huajun
Hi,tom lane > No, it would most certainly be inappropriate for a library to do that. > setlocale could completely break a program that wasn't expecting it. > The effects would be global across the whole process, not confined to > the library. First,does you agree with the need of native language