1SPI_GETARGTYPEID(3)      PostgreSQL 13.4 Documentation     SPI_GETARGTYPEID(3)
2
3
4

NAME

6       SPI_getargtypeid - return the data type OID for an argument of a
7       statement prepared by SPI_prepare
8

SYNOPSIS

10       Oid SPI_getargtypeid(SPIPlanPtr plan, int argIndex)
11

DESCRIPTION

13       SPI_getargtypeid returns the OID representing the type for the
14       argIndex'th argument of a statement prepared by SPI_prepare. First
15       argument is at index zero.
16

ARGUMENTS

18       SPIPlanPtr plan
19           prepared statement (returned by SPI_prepare)
20
21       int argIndex
22           zero based index of the argument
23

RETURN VALUE

25       The type OID of the argument at the given index. If the plan is NULL or
26       invalid, or argIndex is less than 0 or not less than the number of
27       arguments declared for the plan, SPI_result is set to
28       SPI_ERROR_ARGUMENT and InvalidOid is returned.
29
30
31
32PostgreSQL 13.4                      2021                  SPI_GETARGTYPEID(3)
Impressum