SPI_unregister_relation — remove an ephemeral named relation from the registry
int SPI_unregister_relation(const char *
SPI_unregister_relation removes an ephemeral named relation from the registry for the current connection.
const char *
the relation registry entry name
If the execution of the command was successful then the following (nonnegative) value will be returned:
if the tuplestore has been successfully removed from the registry
On error, one of the following negative values is returned:
if called from an unconnected procedure
name is not found in the registry for the current connection
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.