1SPI_GETARGCOUNT(3)       PostgreSQL 10.7 Documentation      SPI_GETARGCOUNT(3)
2
3
4

NAME

6       SPI_getargcount - return the number of arguments needed by a statement
7       prepared by SPI_prepare
8

SYNOPSIS

10       int SPI_getargcount(SPIPlanPtr plan)
11

DESCRIPTION

13       SPI_getargcount returns the number of arguments needed to execute a
14       statement prepared by SPI_prepare.
15

ARGUMENTS

17       SPIPlanPtr plan
18           prepared statement (returned by SPI_prepare)
19

RETURN VALUE

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 10.7                      2019                   SPI_GETARGCOUNT(3)
Impressum