Skip site navigation (1) Skip section navigation (2)

[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 (view raw or flat)
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

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group