Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Odbc and Bytea



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: convert.diff
Description: Binary data



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group