DescribParam

Поиск
Список
Период
Сортировка
От Glenn B. Lawler
Тема DescribParam
Дата
Msg-id 01C68A3B.381631C0.gblawler@incodesystems.com
обсуждение исходный текст
Ответы Re: DescribParam  (Ludek Finstrle <luf@pzkagis.cz>)
Re: DescribParam  (Hiroshi Inoue <inoue@tpf.co.jp>)
Список pgsql-odbc
When I call SQLDescribeParam using PostgreSQL ODBC Driver psqlodbc-08_02_0002
SQL_ERROR is the return code.

What I am trying to do with this call is determine the buffer size needed to allocate a buffer
so I can call SQLBindParameter with a big enough buffer.

I have tried defaulting this to a number > 255, but this causes some other drivers, like
MS Access to choke.

MS SQL Server and others return the correct parameter size.

My only thought was to provide an override for this in my library to force the parameter
size when the driver does not return it.

Does anyone have a better workaround for this?

Glenn Lawler
www.incodesystems.com


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

Предыдущее
От: Ludek Finstrle
Дата:
Сообщение: Patch for snprintf problem (bug #1000650)
Следующее
От: Ludek Finstrle
Дата:
Сообщение: Re: DescribParam