From 293913568e6a7a86fd1479e1cff8e2ecb58d6568 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 15:44:03 +0200 Subject: Adding upstream version 16.2. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/spi-spi-getargcount.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/src/sgml/html/spi-spi-getargcount.html (limited to 'doc/src/sgml/html/spi-spi-getargcount.html') diff --git a/doc/src/sgml/html/spi-spi-getargcount.html b/doc/src/sgml/html/spi-spi-getargcount.html new file mode 100644 index 0000000..ed5d5b8 --- /dev/null +++ b/doc/src/sgml/html/spi-spi-getargcount.html @@ -0,0 +1,15 @@ + +SPI_getargcount

SPI_getargcount

SPI_getargcount — return the number of arguments needed by a statement + prepared by SPI_prepare

Synopsis

+int SPI_getargcount(SPIPlanPtr plan)
+

Description

+ SPI_getargcount returns the number of arguments needed + to execute a statement prepared by SPI_prepare. +

Arguments

SPIPlanPtr plan

+ prepared statement (returned by SPI_prepare) +

Return Value

+ The count of expected arguments for the plan. + If the plan is NULL or invalid, + SPI_result is set to SPI_ERROR_ARGUMENT + and -1 is returned. +

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