PGSQL_GetHostname

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

version 2004


PGSQL_GetHostname (connID; hostName) Longint

ParameterTypeDescription
connIDLongintConnection ID returned by PGSQL_Connect
hostNameStringCurrent host name
Function resultLongintError code (where 0 means no error)

Description

The PGSQL_GetHostname command gives the name of the host. It returns an error code (Longint) where 0 means no error.

connID is a Longint that corresponds to the connection ID returned by PGSQL_Connect.

hostName is a String that is returned which contains the current host name.


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