]> begriffs open source - ai-pg/blob - full-docs/txt/spi-spi-gettypeid.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / spi-spi-gettypeid.txt
1
2 SPI_gettypeid
3
4    SPI_gettypeid — return the data type OID of the specified column
5
6 Synopsis
7
8 Oid SPI_gettypeid(TupleDesc rowdesc, int colnumber)
9
10 Description
11
12    SPI_gettypeid returns the OID of the data type of the specified column.
13
14 Arguments
15
16    TupleDesc rowdesc
17           input row description
18
19    int colnumber
20           column number (count starts at 1)
21
22 Return Value
23
24    The OID of the data type of the specified column or InvalidOid on
25    error. On error, SPI_result is set to SPI_ERROR_NOATTRIBUTE.