PGSQL_GetConnStatus

4D - Documentation   Français   English   German   4D For PostgreSQL, Command Theme List   4D For PostgreSQL, Command Alphabetical List   Back   Previous   Next

version 2004


PGSQL_GetConnStatus (connID) Longint

ParameterTypeDescription
connIDLongintConnection ID returned by PGSQL_Connect
Function resultLongintCurrent 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.


4D - Documentation   Français   English   German   4D For PostgreSQL, Command Theme List   4D For PostgreSQL, Command Alphabetical List   Back   Previous   Next