postgresql_16:6.10.1.10.1 Description
PostgreSQL 16 > Server Programming > Server Programming Interface > Interface Functions > SPI_prepare_params > Description
SPI_prepare_params creates and returns a prepared statement for the specified command, but doesn't execute the command. This function is equivalent to SPI_prepare_cursor, with the addition that the caller can specify parser hook functions to control the parsing of external parameter references.
This function is now deprecated in favor of SPI_prepare_extended.