PostgreSQL
SPI_unregister_relation
SPI_unregister_relation — remove an ephemeral named relation from the registry
Description
SPI_unregister_relation
removes an ephemeral named relation from the registry for the current connection.
Return Value
If the execution of the command was successful then the following (nonnegative) 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 procedure
SPI_ERROR_REL_NOT_FOUND
-
if `name` is not found in the registry for the current connection
Prev | Up | Next |
---|---|---|
SPI_register_relation |
SPI_register_trigger_data |
Copyright © 1996-2023 The PostgreSQL Global Development Group