SPI_gettype

Name

SPI_gettype -- 指定属性の型名を返します。

Synopsis

SPI_gettype(tupdesc, fnumber)

入力

TupleDesc tupdesc

対象タプルの記述子。

int fnumber

属性番号。

出力

char *

指定属性番号の型名。

SPI_result

SPI_ERROR_NOATTRIBUTE

説明

SPI_gettype は、指定属性の型名のコピーを返し ます。

使い方

属性番号は 1 から始まります。

Algorithm

バイナリ値格納用には新しくメモリを割り当てません。