[HACKERS] [PATCH]Fix for ecpglib's native language messages output

2013-01-26 Thread Chen Huajun
Hi I found the ecpg programs can not output the native language messages which defined in ecpglib6-9.x.mo. The reason is a misstake in "src/interfaces/ecpg/ecpglib/misc.c", and i mad a patch for that. Chen Huajun diff --git a/postgresql-9.1.4org/src/interfaces/ecpg/ecpglib/misc.c b/

Re: [HACKERS] fix ecpg core dump when there's a very long struct variable name in .pgc file

2012-11-25 Thread Chen Huajun
(2012/11/25 22:18), Michael Meskes wrote: > On Sun, Nov 25, 2012 at 08:02:33PM +0800, Chen Huajun wrote: >> Thanks for your comment,I will add the patch into commitfest later. > > No need for that, the patch is already committed to the archive. Oh,I got it,Thanks! -- Regar

Re: [HACKERS] fix ecpg core dump when there's a very long struct variable name in .pgc file

2012-11-25 Thread Chen Huajun
It maybe my first patch for open source. And I am glad if I can do more for PostgreSQL which is so fine.:) Regards, Chen Huajun (2012/11/23 21:42), Michael Meskes wrote: On Thu, Nov 22, 2012 at 06:09:20PM +0800, Chen Huajun wrote: When use a struct variable whose name length is very very long such

Re: [HACKERS] fix ecpg core dump when there's a very long struct variable name in .pgc file

2012-11-22 Thread Chen Huajun
sorry,There's a miss(with out free memory) in that patch sended just now, and resend it. Best Regards, Chen Huajun (2012/11/22 18:09), Chen Huajun wrote: > hi > > I found a small bug in ecpg command and try to fix it. > Please check if it is correct. > > When use a str

Re: [HACKERS] Fix errcontext() function

2012-11-10 Thread Chen Huajun
probably good to go, I just got busy with other things and forgot about it back then. Can you take a look at that patch and see if I missed anything, please? - Heikki I think you are right,although the number of changed place is a a little bit large. Thanks for your answer! Chen Huajun

[HACKERS] Fix errcontext() function

2012-11-07 Thread Chen Huajun
Hello, I am sending patch for errcontext() function. I use procedural languages to do some operation, but when error occurs ,the CONTEXT error messages from procedural languages doesn't display in local language. for example: postgres=# CR