[bug fix] Handling the case where character conversion fails

From: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
To: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: [bug fix] Handling the case where character conversion fails
Date: 2017-04-24 06:50:08
Message-ID: 0A3221C70F24FB45833433255569204D1F6E6F0C@G01JPEXMBYT05
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello,

I think the attached patch is necessary to handle the case where msgtowstr() fails to convert the character data. Could you check this?

Regards
Takayuki Tsunakawa

Attachment Content-Type Size
convert_error.patch application/octet-stream 750 bytes

Browse pgsql-odbc by date

  From Date Subject
Next Message Reza Taheri 2017-05-04 05:08:06 PostgreSQL, and ODBC statement handles
Previous Message Inoue, Hiroshi 2017-04-21 13:30:14 Re: PGAPI_ProcedureColumns and no support for table output arguments