Обсуждение: [psqlODBC 08.02.0401] Driver option socket buffer size is ignored

Поиск
Список
Период
Сортировка

[psqlODBC 08.02.0401] Driver option socket buffer size is ignored

От
Rainer Bauer
Дата:
Hi,

specifying the socket buffer size in the connect string "Socket=8192" has no
effect. SOCK_Constructor() is called before copyCommonAttributes() transfers
the parameter.

Seems like odbc32.dll calls SQLAllocHandle(SQL_HANDLE_DBC, ...) just before
SQLDriverConnect() gets called. And since PGAPI_AllocConnect() is called from
SQLAllocHandle() the default buffer size is used.

Rainer