Odbc and Bytea

Поиск
Список
Период
Сортировка
От luiz
Тема Odbc and Bytea
Дата
Msg-id 20080226154156.M96166@planit.com.br
обсуждение исходный текст
Список 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.


Вложения

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "luiz"
Дата:
Сообщение: Domain data types
Следующее
От:
Дата:
Сообщение: [ psqlodbc-Bugs-1010217 ] ODBC 8.02.0500 bug on returned size of bpchar and varchar