SPI_unregister_relation
remove an ephemeral named relation from the registry
- Provided by: postgresql-doc-12 (Version: 12.22-0ubuntu0.20.04.4)
- Source: postgresql-12
- 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