Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL_ATTR_CONNECTION_DEAD

Status
Not open for further replies.

jwb1

Programmer
Joined
May 20, 2002
Messages
2
Location
US
Anyone know if SQL_ATTR_CONNECTION_DEAD can be used in the following contex in postgreSQL ODBC?

retcode = SQLGetConnectAttr(dbch, SQL_ATTR_CONNECTION_DEAD, &ValuePtr, 0, &StringLengthPtr);

SQLGetDiagRec produces an SQLState of HY009 and message of 'Unknown Connect Option (Get)'.

Bottom line, I'm attempting to check to see if my connection is still available to the database. Thanks in advance for any assistance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top