Odbc and Bytea - Mailing list pgsql-odbc

From luiz
Subject Odbc and Bytea
Date
Msg-id 20080226154156.M96166@planit.com.br
Whole thread Raw
List pgsql-odbc
Hi,

I discovered that ODBC driver has a slightly different behavior than libpq on
the conversion from bytea escaped sequence to the unescaped form.

Well, I was sent a wrong escaped string to a bytea column, and Odbc driver
don´t return the same wrong string when retrieve it. :(

Altought for correct strings they works well, I think that is interesting that
both routines have the same behaviour.

So,I attached a modification (algorithm extracted from libpq ;) ).

Hope this can help to improve the driver.

Best Regards

Luiz
--
Plan IT Tecnologia Informatica Ltda.


Attachment

pgsql-odbc by date:

Previous
From: "luiz"
Date:
Subject: Domain data types
Next
From:
Date:
Subject: [ psqlodbc-Bugs-1010217 ] ODBC 8.02.0500 bug on returned size of bpchar and varchar