Re: [HACKERS] [PATCH] Patch to fix a crash of psql

2012-11-29 Thread JiangGuiqing
> buffer lenghth). So my proposal is, if prepare_buffer() detects > possible inconsistency between buffer encoding and file encoding, warn > user. I agree with that. On 2012/11/30 12:52, Tatsuo Ishii Wrote: 1. some especial character (my sql file contains japanese comment "-- コメント" . It can ca

[HACKERS] [PATCH] Patch to fix a crash of psql

2012-11-29 Thread JiangGuiqing
hi When i test psql under multi-lingual and different encoding environment, I found a crash of psql. -- $ export PGCLIENTENCODING=SJIS $ psql psql (9.2rc1) Type "help" for help. postgres=# \i sql CREATE DATABASE You are now con

[HACKERS] [PATCH] Patch to fix missing libecpg_compat.lib and libpgtypes.lib.

2012-11-18 Thread JiangGuiqing
hi I install postgresql-9.1.5 from source code on windows successfully. But there is not "libecpg_compat.lib" and "libpgtypes.lib" in the installed lib directory . If someone used functions of pgtypes or ecpg_compat library in ecpg programs,the ecpg program build will fail. So i modify src/tools/