47.2. Interface Support Functions

|    47.2. Interface Support Functions     |              |                                        |                  |                           |
|:----------------------------------------:|--------------|----------------------------------------|------------------|---------------------------|
|[Prev](spi-spi-register-trigger-data.html)|[Up](spi.html)|Chapter 47. Server Programming Interface|[Home](index.html)| [Next](spi-spi-fname.html)|

---

## 47.2. Interface Support Functions

[SPI\_fname](spi-spi-fname.html) — determine the column name for the specified column number[SPI\_fnumber](spi-spi-fnumber.html) — determine the column number for the specified column name[SPI\_getvalue](spi-spi-getvalue.html) — return the string value of the specified column[SPI\_getbinval](spi-spi-getbinval.html) — return the binary value of the specified column[SPI\_gettype](spi-spi-gettype.html) — return the data type name of the specified column[SPI\_gettypeid](spi-spi-gettypeid.html) — return the data type OID of the specified column[SPI\_getrelname](spi-spi-getrelname.html) — return the name of the specified relation[SPI\_getnspname](spi-spi-getnspname.html) — return the namespace of the specified relation[SPI\_result\_code\_string](spi-spi-result-code-string.html) — return error code as string

 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 C functions.

---

|[Prev](spi-spi-register-trigger-data.html)|  [Up](spi.html)  | [Next](spi-spi-fname.html)|
|:-----------------------------------------|:----------------:|--------------------------:|
|       SPI\_register\_trigger\_data       |[Home](index.html)|         SPI\_fname        |

 // \<![CDATA[ \<-- For SVG support if ('WebSocket' in window) { (function() { function refreshCSS() { var sheets = [].slice.call(document.getElementsByTagName("link")); var head = document.getElementsByTagName("head")[0]; for (var i = 0; i \< sheets.length; ++i) { var elem = sheets[i]; head.removeChild(elem); var rel = elem.rel; if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") { var url = elem.href.replace(/(&|\\?)\_cacheOverride=\\d+/, ''); elem.href = url + (url.indexOf('?') \>= 0 ? '&' : '?') + '\_cacheOverride=' + (new Date().valueOf()); } head.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function(msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; console.log('Live reload enabled.'); })(); } // ]]\>