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.
Plan IT Tecnologia Informatica Ltda.
Description: application/octet-stream (1.7 KB)
pgsql-odbc by date
|Next:||From: luiz||Date: 2008-02-26 16:12:51|
|Subject: Domain data types|
|Previous:||From: noreply||Date: 2008-02-26 15:33:44|
|Subject: [ psqlodbc-Bugs-1010303 ] Incorrect data type with domains|