postgresql_16:6.10.1.9.2 Arguments
PostgreSQL 16 > Server Programming > Server Programming Interface > Interface Functions > SPI_prepare_extended > Arguments
**const char * command``**
command string
**const SPIPrepareOptions * options``**
struct containing optional arguments
Callers should always zero out the entire options struct, then fill whichever fields they want to set. This ensures forward compatibility of code, since any fields that are added to the struct in future will be defined to behave backwards-compatibly if they are zero. The currently available options fields are:
ParserSetupHook parserSetup``
Parser hook setup function
**void * parserSetupArg``**
pass-through argument for parserSetup
RawParseMode parseMode``
mode for raw parsing; RAW_PARSE_DEFAULT (zero) produces default behavior
int cursorOptions``
integer bit mask of cursor options; zero produces default behavior