version 2004
PGSQL_GetConnStatus (connID) Longint
| Parameter | Type | Description | |
| connID | Longint | Connection ID returned by PGSQL_Connect | |
| Function result | Longint | Current connection status |
Description
The PGSQL_GetConnStatus command returns the current connection status (Longint):
0 = CONNECTION_OK.
1 = CONNECTION_BAD.
connID is a Longint that corresponds to the connection ID returned by PGSQL_Connect.