postgresql_16:6.10.1.9.1 Description
PostgreSQL 16 > Server Programming > Server Programming Interface > Interface Functions > SPI_prepare_extended > Description
SPI_prepare_extended creates and returns a prepared statement for the specified command, but doesn't execute the command. This function is equivalent to SPI_prepare, with the addition that the caller can specify options to control the parsing of external parameter references, as well as other facets of query parsing and planning.