This page in other versions: Unsupported versions: 6.4 / 6.5 / 7.0

SPI_gettypeid

Name

SPI_gettypeid — Returns the type OID of the specified attribute
SPI_gettypeid(tupdesc, fnumber)

Inputs

TupleDesc tupdesc

Input tuple description

int fnumber

Attribute number

Outputs

OID

The type OID for the specified attribute number

SPI_result
SPI_ERROR_NOATTRIBUTE

Description

SPI_gettypeid returns the type OID for the specified attribute.

Usage

Attribute numbers are 1 based.

Algorithm

TBD

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group