postgresql_16:6.10.1.21.2 Arguments
PostgreSQL 16 > Server Programming > Server Programming Interface > Interface Functions > SPI_cursor_parse_open > Arguments
**const char * name``**
name for portal, or NULL to let the system select a name
**const char * command``**
command string
**const SPIParseOpenOptions * 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:
ParamListInfo params``
data structure containing query parameter types and values; NULL if none
int cursorOptions``
integer bit mask of cursor options; zero produces default behavior
bool read_only``
true for read-only execution