spi_connect man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

SPI_connect()		PostgreSQL 8.1.19 Documentation		 SPI_connect()

NAME
       SPI_connect - connect a procedure to the SPI manager

SYNOPSIS
       int SPI_connect(void)

DESCRIPTION
       SPI_connect  opens  a connection from a procedure invocation to the SPI
       manager. You must call this function if you want	 to  execute  commands
       through	SPI. Some utility SPI functions may be called from unconnected
       procedures.

       If your procedure is already connected,	SPI_connect  will  return  the
       error code SPI_ERROR_CONNECT. This could happen if a procedure that has
       called SPI_connect directly calls another procedure that calls SPI_con‐
       nect.  While  recursive	calls to the SPI manager are permitted when an
       SQL command called through SPI invokes another function that uses  SPI,
       directly	 nested	 calls	to  SPI_connect	 and SPI_finish are forbidden.
       (But see SPI_push and SPI_pop.)

RETURN VALUE
       SPI_OK_CONNECT
	      on success

       SPI_ERROR_CONNECT
	      on error

				  2009-12-09			 SPI_connect()
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net