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 --- .../html/spi-spi-execute-plan-with-paramlist.html | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 doc/src/sgml/html/spi-spi-execute-plan-with-paramlist.html (limited to 'doc/src/sgml/html/spi-spi-execute-plan-with-paramlist.html') diff --git a/doc/src/sgml/html/spi-spi-execute-plan-with-paramlist.html b/doc/src/sgml/html/spi-spi-execute-plan-with-paramlist.html new file mode 100644 index 0000000..6c8a625 --- /dev/null +++ b/doc/src/sgml/html/spi-spi-execute-plan-with-paramlist.html @@ -0,0 +1,32 @@ + +SPI_execute_plan_with_paramlist

SPI_execute_plan_with_paramlist

SPI_execute_plan_with_paramlist — execute a statement prepared by SPI_prepare

Synopsis

+int SPI_execute_plan_with_paramlist(SPIPlanPtr plan,
+                                    ParamListInfo params,
+                                    bool read_only,
+                                    long count)
+

Description

+ SPI_execute_plan_with_paramlist executes a statement + prepared by SPI_prepare. + This function is equivalent to SPI_execute_plan + except that information about the parameter values to be passed to the + query is presented differently. The ParamListInfo + representation can be convenient for passing down values that are + already available in that format. It also supports use of dynamic + parameter sets via hook functions specified in ParamListInfo. +

+ This function is now deprecated in favor + of SPI_execute_plan_extended. +

Arguments

SPIPlanPtr plan

+ prepared statement (returned by SPI_prepare) +

ParamListInfo params

+ data structure containing parameter types and values; NULL if none +

bool read_only

true for read-only execution

long count

+ maximum number of rows to return, + or 0 for no limit +

Return Value

+ The return value is the same as for SPI_execute_plan. +

+ SPI_processed and + SPI_tuptable are set as in + SPI_execute_plan if successful. +

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