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