[psqlODBC 08.02.0401] Driver option socket buffer size is ignored

From: Rainer Bauer <usenet(at)munnin(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: [psqlODBC 08.02.0401] Driver option socket buffer size is ignored
Date: 2007-06-01 10:49:35
Message-ID: 7gtv5352f3epgq7vaq23fhc26oi1tkec04@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-odbc by date

  From Date Subject
Next Message Ben Trewern 2007-06-01 15:00:28 Re: Replacing IDENTITY with lastval()
Previous Message Rainer Bauer 2007-06-01 10:29:02 [psqlODBC 08.02.0401] Typo