[psqlODBC 08.02.0401] Driver option socket buffer size is ignored - Mailing list pgsql-odbc

From Rainer Bauer
Subject [psqlODBC 08.02.0401] Driver option socket buffer size is ignored
Date
Msg-id 7gtv5352f3epgq7vaq23fhc26oi1tkec04@4ax.com
Whole thread Raw
List pgsql-odbc
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

pgsql-odbc by date:

Previous
From: Rainer Bauer
Date:
Subject: [psqlODBC 08.02.0401] Typo
Next
From: "Ben Trewern"
Date:
Subject: Re: Replacing IDENTITY with lastval()