'\" t .\" Title: SPI_cursor_find .\" Author: The PostgreSQL Global Development Group .\" Generator: DocBook XSL Stylesheets v1.75.2 .\" Date: 2016 .\" Manual: PostgreSQL 9.5.2 Documentation .\" Source: PostgreSQL 9.5.2 .\" Language: English .\" .TH "SPI_CURSOR_FIND" "3" "2016" "PostgreSQL 9.5.2" "PostgreSQL 9.5.2 Documentation" .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" SPI_cursor_find \- find an existing cursor by name .SH "SYNOPSIS" .sp .nf Portal SPI_cursor_find(const char * \fIname\fR) .fi .SH "DESCRIPTION" .PP \fBSPI_cursor_find\fR finds an existing portal by name\&. This is primarily useful to resolve a cursor name returned as text by some other function\&. .SH "ARGUMENTS" .PP const char * \fIname\fR .RS 4 name of the portal .RE .SH "RETURN VALUE" .PP pointer to the portal with the specified name, or NULL if none was found