Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SPI_UNRE..._RELATION(3)   PostgreSQL 18.4 Documentation  SPI_UNRE..._RELATION(3)

NAME
     SPI_unregister_relation  - remove an ephemeral named relation from the reg-
     istry

SYNOPSIS
     int SPI_unregister_relation(const char * name)

DESCRIPTION
     SPI_unregister_relation removes an ephemeral named relation from  the  reg-
     istry for the current connection.

ARGUMENTS
     const char * name
	 the relation registry entry name

RETURN VALUE
     If the execution of the command was successful then the following (nonnega-
     tive) value will be returned:

     SPI_OK_REL_UNREGISTER
	 if the tuplestore has been successfully removed from the registry

     On error, one of the following negative values is returned:

     SPI_ERROR_ARGUMENT
	 if name is NULL

     SPI_ERROR_UNCONNECTED
	 if called from an unconnected C function

     SPI_ERROR_REL_NOT_FOUND
	 if name is not found in the registry for the current connection

PostgreSQL 18.4 		      2026		 SPI_UNRE..._RELATION(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=SPI_unregister_relation&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help