Re: [GENERAL] libpq messages language

2007-12-08 Thread Efraín López
libiconv libs They, I just got carefull with PGLOCALEDIR, again, thank you! - Original Message - From: "Albe Laurenz" <[EMAIL PROTECTED]> To: "Efraín López *EXTERN*" <[EMAIL PROTECTED]>; Sent: Friday, December 07, 2007 2:52 AM Subject: RE: [GENERAL] libpq

Re: [GENERAL] libpq messages language

2007-12-07 Thread Albe Laurenz
Efraín López wrote: >>> I am using Windows, and pg 8.2.5 >>> >>> When making a connection with libpq, if it fails I would like >>> to get the errors messages in spanish (PQerrorMessage ) >>> >>> Is this possible? How can this be done? I got it to work with this program: #include #include #incl

Re: [GENERAL] libpq messages language

2007-12-06 Thread Usama Dar
On Dec 6, 2007 8:03 AM, Efraín López <[EMAIL PROTECTED]> wrote: > Thank you for your reply > > but I got the error 'LC_MESSAGES' : undeclared identifier > > locale.h only defines LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, > LC_TIME > > I tried to set a system variable LC_MESSAGES, but didn't w

Re: [GENERAL] libpq messages language

2007-12-05 Thread Efraín López
age - From: "Albe Laurenz" <[EMAIL PROTECTED]> To: "Efraín López *EXTERN*" <[EMAIL PROTECTED]>; Sent: Tuesday, December 04, 2007 5:33 AM Subject: RE: [GENERAL] libpq messages language Efraín López wrote: I am using Windows, and pg 8.2.5 When making a connect

Re: [GENERAL] libpq messages language

2007-12-04 Thread Albe Laurenz
Efraín López wrote: > I am using Windows, and pg 8.2.5 > > When making a connection with libpq, if it fails I would like > to get the errors messages in spanish (PQerrorMessage ) > > Is this possible? How can this be done? Set the program's locale prior to calling libpq functions. I did not

[GENERAL] libpq messages language

2007-12-03 Thread Efraín López
Hi, I am using Windows, and pg 8.2.5 When making a connection with libpq, if it fails I would like to get the errors messages in spanish (PQerrorMessage ) Is this possible? How can this be done? thanks