Name
SPI_fname --
Finds the attribute name for the specified attribute
����°����°��̾�����ޤ���
Synopsis
SPI_fname(tupdesc, fname)
����
- TupleDesc tupdesc
Input tuple description
�оݥ��ץ�ε��һҡ�
- char * fnumber
Attribute number
°���ֹ档
����
- char *
Attribute name
°��̾��
|
NULL if fnumber is out of range |
| NULL
���� fnumber ���ϰϳ��ξ�硣 |
|
SPI_result set to
SPI_ERROR_NOATTRIBUTE on error |
| ���顼�ξ��ϡ�SPI_result ��
SPI_ERROR_NOATTRIBUTE �����ꤵ��ޤ��� |
����
SPI_fname
returns the attribute name for the specified attribute.
SPI_fname �ϻ��ꤵ�줿°����°��̾���֤��ޤ���
�Ȥ���
Attribute numbers are 1 based.
°���ֹ�� 1 ����Ϥޤ�ޤ���
���르�ꥺ��
Returns a newly-allocated copy of the attribute name.
������������Ƥ������°��̾�ԡ�������Τ��֤��ޤ���