| The PostgreSQL 9.0 Reference Manual - Volume 2 - Programming Guide
by The PostgreSQL Global Development Group Paperback (6"x9"), 478 pages ISBN 9781906966065 RRP £14.95 ($19.95) Sales of this book support the PostgreSQL project! Get a printed copy>>> |
13.2.6 SPI_gettypeid
Name
SPI_gettypeid -- return the data type OID of the specified column
Synopsis
Oid SPI_gettypeid(TupleDesc rowdesc, int colnumber)
Description
SPI_gettypeid returns the
OID of the data type of the specified column.
Arguments
TupleDescrowdesc- input row description
intcolnumber- column number (count starts at 1)
Return Value
The OID of the data type of the specified column
or InvalidOid on error. On error,
SPI_result is set to
SPI_ERROR_NOATTRIBUTE.
| ISBN 9781906966065 | The PostgreSQL 9.0 Reference Manual - Volume 2 - Programming Guide | See the print edition |