SQLGetConnectAttr returns invalid value

From: "Mike McDonald" <mike(dot)mcdonald(at)prodeasystems(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: SQLGetConnectAttr returns invalid value
Date: 2009-08-04 22:18:52
Message-ID: 56DA5079467D1C48B857C6FE59D5D4FC02E5C335@prodeaserve.prodea.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi All,

I have a question regarding some changes that Anoop Kumar submitted
almost 4 years ago. The changes were a "fix for making the
SQLGetConnectAttr API work with SQL_ATTR_CONNECTION_DEAD attribute."
However, the changes are now not part of the current release. Why were
they removed?

Here are Anoop's originally modified files:

* pgapi30.c (rev 1.22 and 1.23)

* connection.c (rev .1.106)

* connection.h (rev 1.65)

His code was removed when Dave Page commited "changed files from the
[release 7.03] enhanced branch" to the main branch in the following
revisions:

* pgapi30.c (rev 1.29)

* connection.c (rev 1.134)

* connection.h (rev 1.69)

In short, the SQLGetConnectAttr() function no longer returns an accurate
value for the CONNECTION_DEAD attribute. Was this simply a bad merge,
or was it removed on purpose? Thanks for the help.

Mike McDonald

This message is confidential to Prodea Systems, Inc unless otherwise indicated
or apparent from its nature. This message is directed to the intended recipient
only, who may be readily determined by the sender of this message and its
contents. If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering this message to the intended
recipient:(a)any dissemination or copying of this message is strictly
prohibited; and(b)immediately notify the sender by return message and destroy
any copies of this message in any form(electronic, paper or otherwise) that you
have.The delivery of this message and its information is neither intended to be
nor constitutes a disclosure or waiver of any trade secrets, intellectual
property, attorney work product, or attorney-client communications. The
authority of the individual sending this message to legally bind Prodea Systems
is neither apparent nor implied,and must be independently verified.

Browse pgsql-odbc by date

  From Date Subject
Next Message Jalaj Negi 2009-08-07 06:13:01 What connection string driver options are available in psqlodbc_08_04_0100 ? Any documentation?
Previous Message Lothar Behrens 2009-08-01 17:36:35 Strange bug (value on stack changed)?