1SPI_GETARGCOUNT(3) PostgreSQL 9.2.24 Documentation SPI_GETARGCOUNT(3)
2
3
4
6 SPI_getargcount - return the number of arguments needed by a statement
7 prepared by SPI_prepare
8
10 int SPI_getargcount(SPIPlanPtr plan)
11
13 SPI_getargcount returns the number of arguments needed to execute a
14 statement prepared by SPI_prepare.
15
17 SPIPlanPtr plan
18 prepared statement (returned by SPI_prepare)
19
21 The count of expected arguments for the plan. If the plan is NULL or
22 invalid, SPI_result is set to SPI_ERROR_ARGUMENT and -1 is returned.
23
24
25
26PostgreSQL 9.2.24 2017-11-06 SPI_GETARGCOUNT(3)