1SPI_GETTYPEID(3) PostgreSQL 12.6 Documentation SPI_GETTYPEID(3)
2
3
4
6 SPI_gettypeid - return the data type OID of the specified column
7
9 Oid SPI_gettypeid(TupleDesc rowdesc, int colnumber)
10
12 SPI_gettypeid returns the OID of the data type of the specified column.
13
15 TupleDesc rowdesc
16 input row description
17
18 int colnumber
19 column number (count starts at 1)
20
22 The OID of the data type of the specified column or InvalidOid on
23 error. On error, SPI_result is set to SPI_ERROR_NOATTRIBUTE.
24
25
26
27PostgreSQL 12.6 2021 SPI_GETTYPEID(3)