Odbc driver

Поиск
Список
Период
Сортировка
От Sergio
Тема Odbc driver
Дата
Msg-id SAK.1999.03.30.rqjkheks@speedy.perio.unlp.edu.ar
обсуждение исходный текст
Ответы Re: [INTERFACES] Odbc driver  (Sergio <ser@perio.unlp.edu.ar>)
Список pgsql-interfaces
Byron,

Postgres 6.3.2, Odbc driver 6.40.0004


I get this

'Access violation at address xxxxxxx in module 'PSQLODBC.DLL'.
Read of address yyyyyyyy'

calling SQLGetData( hstmt, FieldNo, SQL_BINARY, SQLPOINTER( @i), 0, @iv);

note the 5th parameter -> 0

over a TEXT field with sizes of 4000 or more bytes.

if I try it with small fields (3000 or so bytes) there is no problem.

ok, I tracked it down and it seems to work until iv=4099,
when it must return 4100, boom !

I wonder why a text saved by Notepad is 4183 bytes and this
same text within Postgres is reported as 4099 chars long, but
maybe this is another history.

Sergio


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

Предыдущее
От: fot@altavista.net
Дата:
Сообщение: subscribe
Следующее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: [INTERFACES] Odbc driver