select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 7.3 / 7.2
Historical version. PostgreSQL 7.3 reached end of support in November 2007. See the current manual for supported releases.

SPI_cursor_find

Name

SPI_cursor_find -- Finds an existing cursor (Portal) by name

Synopsis

SPI_cursor_find(name)

Inputs

char *name

Name of portal

Outputs

Portal

Pointer to Portal with given name, or NULL if not found

Description

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

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.