SPI_getvalue

Name

SPI_getvalue --  Returns the string value of the specified attribute ����°�����ͤ�ʸ����Ȥ����֤��ޤ���

Synopsis

SPI_getvalue(tuple, tupdesc, fnumber)

����

HeapTuple tuple

Input tuple to be examined

�����оݤΥ��ץ롣

TupleDesc tupdesc

Input tuple description

�оݥ��ץ�ε��һҡ�

int fnumber

Attribute number

°���ֹ档

����

char *

Attribute value or NULL if

°���͡��ʲ��ξ���NULL���֤�ޤ���

attribute is NULL
�֤�°���� NULL �ξ�硣
fnumber is out of range (SPI_result set to SPI_ERROR_NOATTRIBUTE)
���� fnumber ���ϰϳ��ξ�硣 �� SPI_result �� SPI_ERROR_NOATTRIBUTE �����ꤵ��ޤ�����
no output function available (SPI_result set to SPI_ERROR_NOOUTFUNC)
���ϴؿ���̵����硣 �� SPI_result �� SPI_ERROR_NOOUTFUNC ������ ����ޤ�����

����

SPI_getvalue returns an external (string) representation of the value of the specified attribute.

SPI_getvalue �ϻ���°�����ͤγ���ɽ����ʸ����ɽ ���ˤ��֤��ޤ���

�Ȥ���

Attribute numbers are 1 based.

°���ֹ�� 1 ����Ϥޤ�ޤ���

���르�ꥺ��

Allocates memory as required by the value.

�����ͤ��Ǽ���뤿���ɬ�פȤ����ʬ�Υ���������Ƥޤ���