Manual do PHP
Anterior |  | Próxima

# 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.

See also pg_field_type(), pg_field_prtlen() and pg_field_name().

Anterior | Principal | Próxima
pg_field_size | Acima | pg_field_type