SPI_gettypeid <refpurpose>return the data type <acronym>OID</acronym> of the specified column</refpurpose> — 指定された列のデータ型のOIDを返す
Oid SPI_gettypeid(TupleDescrowdesc, intcolnumber)
<function>SPI_gettypeid</function> returns the
<acronym>OID</acronym> of the data type of the specified column.
SPI_gettypeidは指定された列のデータ型のOIDを返します。
TupleDesc rowdescinput row description 入力行の記述
int colnumbercolumn number (count starts at 1) (1から始まる)列番号
The <acronym>OID</acronym> of the data type of the specified column
or <symbol>InvalidOid</symbol> on error. On error,
<varname>SPI_result</varname> is set to
<symbol>SPI_ERROR_NOATTRIBUTE</symbol>.
指定された列のデータ型のOIDです。
エラー時はInvalidOidです。
エラー時、SPI_resultはSPI_ERROR_NOATTRIBUTEに設定されます。