Re: BUG #3601: When we try to connect to postgres ti shows Unicode converter buffer overflow error. - Mailing list pgsql-bugs

From Hiroshi Saito
Subject Re: BUG #3601: When we try to connect to postgres ti shows Unicode converter buffer overflow error.
Date
Msg-id 024d01c7f10e$c8f7d5f0$c601a8c0@HP22720319231
Whole thread Raw
In response to BUG #3601: When we try to connect to postgres ti shows Unicode converter buffer overflow error.  ("Unicode converter buffer overflow in psqlodbc driver" <asheesh_arora@persistent.co.in>)
List pgsql-bugs
Hi.

Umm...
If possible, please set up Debug by odbc.ini, and send me /tmp/mylog_xxx999.log.

Regards,
Hiroshi Saito

From: "Unicode converter buffer overflow in psqlodbc driver"
<asheesh_arora@persistent.co.in>


>
> The following bug has been logged online:
>
> Bug reference:      3601
> Logged by:          Unicode converter buffer overflow in psqlodbc driver
> Email address:      asheesh_arora@persistent.co.in
> PostgreSQL version: 8.2.4
> Operating system:   Solaris Sparc V9 32bit
> Description:        When we try to connect to postgres ti shows Unicode
> converter buffer overflow error.
> Details:
>
> We have unixoDBC version unixODBC2.2.11. and psqlodbc version 08.02.04.
>
> We have compiled the psqlodbc driver in unicode mode i.e. without
> --disable-unicode flag, it has generated a file psqlodbcw.so. When we try to
> connect to postgres it fails giving a core dump.
>
> When we use datadirect driver manager, then it gives Unicode converter
> buffer overflow error.
>
> When we compile the psqlodbc with --disable-unicode flag, it generates
> psqlodbca.so which works fine.
>
> The error is only with unicode mode.

pgsql-bugs by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: BUG #3604: lo_import does not work with filenames with accents
Next
From: Julius Stroffek
Date:
Subject: 'on insert do instead' rule with a where clause responds 'INSERT 0 0'