SPI_cursor_find

Name

SPI_cursor_find -- find an existing cursor by name

Synopsis

Portal SPI_cursor_find(const char * name)

Description

Note: At present, this section is just taken from PostgreSQL documentation and is subject to revision for Postgres-XC.

SPI_cursor_find finds an existing portal by name. This is primarily useful to resolve a cursor name returned as text by some other function.

Arguments

Note: At present, this section is just taken from PostgreSQL documentation and is subject to revision for Postgres-XC.

const char * name

name of the portal

Return Value

Note: At present, this section is just taken from PostgreSQL documentation and is subject to revision for Postgres-XC.

pointer to the portal with the specified name, or NULL if none was found