SQLGetConnectAttr returns invalid value - Mailing list pgsql-odbc

From Mike McDonald
Subject SQLGetConnectAttr returns invalid value
Date
Msg-id 56DA5079467D1C48B857C6FE59D5D4FC02E5C335@prodeaserve.prodea.local
Whole thread Raw
List 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.

pgsql-odbc by date:

Previous
From: Lothar Behrens
Date:
Subject: Strange bug (value on stack changed)?
Next
From: Jalaj Negi
Date:
Subject: What connection string driver options are available in psqlodbc_08_04_0100 ? Any documentation?