From 5e45211a64149b3c659b90ff2de6fa982a5a93ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:17:33 +0200 Subject: Adding upstream version 15.5. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/spi-spi-getvalue.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 doc/src/sgml/html/spi-spi-getvalue.html (limited to 'doc/src/sgml/html/spi-spi-getvalue.html') diff --git a/doc/src/sgml/html/spi-spi-getvalue.html b/doc/src/sgml/html/spi-spi-getvalue.html new file mode 100644 index 0000000..182d1c6 --- /dev/null +++ b/doc/src/sgml/html/spi-spi-getvalue.html @@ -0,0 +1,25 @@ + +SPI_getvalue

SPI_getvalue

SPI_getvalue — return the string value of the specified column

Synopsis

+char * SPI_getvalue(HeapTuple row, TupleDesc rowdesc, int colnumber)
+

Description

+ SPI_getvalue returns the string representation + of the value of the specified column. +

+ The result is returned in memory allocated using + palloc. (You can use + pfree to release the memory when you don't + need it anymore.) +

Arguments

HeapTuple row

+ input row to be examined +

TupleDesc rowdesc

+ input row description +

int colnumber

+ column number (count starts at 1) +

Return Value

+ Column value, or NULL if the column is null, + colnumber is out of range + (SPI_result is set to + SPI_ERROR_NOATTRIBUTE), or no output function is + available (SPI_result is set to + SPI_ERROR_NOOUTFUNC). +

\ No newline at end of file -- cgit v1.2.3