SPI_unregister_relation
remove an ephemeral named relation from the registry
- Provided by: postgresql-doc-10 (Version: 10.23-0ubuntu0.18.04.2)
- Source: postgresql-10
- Report a bug
remove an ephemeral named relation from the registry
int SPI_unregister_relation(const char * name)
SPI_unregister_relation removes an ephemeral named relation from the registry for the current connection.
const char * name
If the execution of the command was successful then the following (nonnegative) value will be returned:
SPI_OK_REL_UNREGISTER
On error, one of the following negative values is returned:
SPI_ERROR_ARGUMENT
SPI_ERROR_UNCONNECTED
SPI_ERROR_REL_NOT_FOUND