SPI_gettype

SPI_gettype

Name

SPI_gettype -- Returns the type name of the specified attribute

Synopsis

SPI_gettype(tupdesc, fnumber)

Inputs

TupleDesc tupdesc

Input tuple description

int fnumber

Attribute number

Outputs

char *

The type name for the specified attribute number

SPI_result

SPI_ERROR_NOATTRIBUTE

Description

SPI_gettype returns a copy of the type name for the specified attribute, or NULL on error.

Usage

Attribute numbers are 1 based.

Algorithm

Returns a newly-allocated copy of the type name. (Use pfree() to release the copy when done with it.)

Home
Online Resources
General
Beginner Tutorials
MySQL
PostgreSQL
Oracle
mSQL
Microsoft SQL
Contact Us
Random quote of the moment:
cleartape: kernels don't do magic, they just implement mechanisms - Erik Mouw on #kernelnewbies
 
http://www.sql.org/
 
Proudly designed and hosted by OmegaSphere, providers of all your Web Hosting, SSL Certificate, and Domain Name needs!