PostgresDAC

TPSQLDataset.Methods.GetFieldTypeOID

Previous Next

Retrieves an OID for associated field type, as it appears in pg_catalog.pg_type table.

Syntax:

function GetFieldTypeOID(const FieldNum: integer): cardinal;

Description:

The FieldNum parameter indicates the field whose type indentifier should be fetched. FieldNum indicates its field number.