pg_field_type_oid

(no version information, might be only in CVS)

pg_field_type_oid --  Returns the type ID (OID) for the corresponding field number

Description

int pg_field_type_oid ( resource result, int field_number )

pg_field_type_oid() returns an integer containing the type ID the given field_number in the given PostgreSQL result resource. Field numbering starts at 0.

You can get more information about the field type by querying PostgreSQL pg_type system table using the ID obtained with this function.

Voir aussi

pg_field_type()
pg_field_prtlen()
pg_field_name()