| Документация по PostgreSQL 9.4.1 | |||
|---|---|---|---|
| Пред. | Уровень выше | Глава 44. Интерфейс программирования сервера | След. |
44.2. Вспомогательные интерфейсные функции
- Содержание
- SPI_fname -- определить имя колонки с заданным номером
- SPI_fnumber -- определить номер колонки с заданным именем
- SPI_getvalue -- получить строковое значение указанной колонки
- SPI_getbinval -- получить двоичное значение указанной колонки
- SPI_gettype -- получить имя типа данных указанной колонки
- SPI_gettypeid -- получить OID типа данных указанной колонки
- SPI_getrelname -- возвращает имя указанного отношения
- SPI_getnspname -- возвращает пространство имён указанного отношения
- SPI_fname -- определить имя колонки с заданным номером
Функции, описанные здесь, предоставляют возможности для извлечения информации из наборов результатов, возвращаемых SPI_execute и другими функциями SPI.
Все функции, описанные в этом разделе, могут использоваться и в подключённых, и в неподключённых процедурах.
| Пред. | Начало | След. |
| SPI_saveplan | Уровень выше | SPI_fname |
| PostgreSQL 9.4.1 Documentation | |||
|---|---|---|---|
| Prev | Up | Chapter 44. Server Programming Interface | Next |
44.2. Interface Support Functions
- Table of Contents
- SPI_fname -- determine the column name for the specified column number
- SPI_fnumber -- determine the column number for the specified column name
- SPI_getvalue -- return the string value of the specified column
- SPI_getbinval -- return the binary value of the specified column
- SPI_gettype -- return the data type name of the specified column
- SPI_gettypeid -- return the data type OID of the specified column
- SPI_getrelname -- return the name of the specified relation
- SPI_getnspname -- return the namespace of the specified relation
- SPI_fname -- determine the column name for the specified column number
The functions described here provide an interface for extracting information from result sets returned by SPI_execute and other SPI functions.
All functions described in this section can be used by both connected and unconnected procedures.