PGSQL_GetFieldSize

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

version 2004


PGSQL_GetFieldSize (resID; fieldIndex; fieldSize) Longint

ParameterTypeDescription
resIDLongintResult ID returned by PGSQL_Execute
fieldIndexIntegerField index in the result set
fieldSizeIntegerField size
Function resultLongintError code (where 0 means no error)

Description

The PGSQL_GetFieldSize command gives the space allocated for this field in a database tuple; in other words, the size of the server's binary representation of the data type. -1 is returned if the field is variable size. It returns an error code (Longint) where 0 means no error. fieldIndex is 0 based.

resID is a Longint that corresponds to the result ID returned by PGSQL_Execute.

fieldIndex is an Integer that corresponds to the field index in the result set (0 based).

fieldSize is an integer that is returned which corresponds to the field size.


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