| От | Nardmann, Heiko |
|---|---|
| Тема | usage of option ByteaAsLongVarBinary? |
| Дата | |
| Msg-id | 200608010916.51191.heiko.nardmann@secunet.com обсуждение |
| Ответы |
Re: usage of option ByteaAsLongVarBinary?
Re: usage of option ByteaAsLongVarBinary? |
| Список | pgsql-odbc |
Hi, first to say that I am quite new to the ODBC interface ... Now my question: I want the ODBC driver (Linux/unixODBC) to map an incoming SQL_LOGVARBINARY to BYTEA. Examining pgtypes.c I have seen that seems to be possible if the bytea_as_longvarbinary member of the connection structure is set. Now ... I am not sure how to set this. I have thought that this would be possible by setting "ByteaAsLongVarBinary=1" inside of the odbc.ini. But without luck. Once again I had a look at the sources - then I did not find any other way to set it than setting it via the specified Windows GUI. Since I do use Linux what is my way to set it? Do I have to go via the ODBC HDBC handle? Any examples for this? Thanks in advance! -- Heiko Nardmann (Dipl.-Ing. Technische Informatik) secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen Tel. : +49 271 48950-13, Fax : +49 271 48950-50
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера