diff --git a/reference/pgsql/functions/pg-field-type-oid.xml b/reference/pgsql/functions/pg-field-type-oid.xml new file mode 100644 index 0000000000..ae26497d82 --- /dev/null +++ b/reference/pgsql/functions/pg-field-type-oid.xml @@ -0,0 +1,54 @@ + + + + + pg_field_type_oid + + Returns the type ID (OID) for the corresponding field number + + + + Description + + intpg_field_type_oid + resourceresult + intfield_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. + + + + + diff --git a/reference/pgsql/functions/pg-field-type.xml b/reference/pgsql/functions/pg-field-type.xml index de05bb5e2e..a9a510626c 100644 --- a/reference/pgsql/functions/pg-field-type.xml +++ b/reference/pgsql/functions/pg-field-type.xml @@ -1,5 +1,5 @@ - + @@ -30,8 +30,9 @@ - See also pg_field_prtlen and - pg_field_name. + See also pg_field_prtlen, + pg_field_name and + pg_field_type_oid.