1SPI_UNREGISTER_RELATION(3)PostgreSQL 14.3 DocumentatioSnPI_UNREGISTER_RELATION(3)
2
3
4

NAME

6       SPI_unregister_relation - remove an ephemeral named relation from the
7       registry
8

SYNOPSIS

10       int SPI_unregister_relation(const char * name)
11

DESCRIPTION

13       SPI_unregister_relation removes an ephemeral named relation from the
14       registry for the current connection.
15

ARGUMENTS

17       const char * name
18           the relation registry entry name
19

RETURN VALUE

21       If the execution of the command was successful then the following
22       (nonnegative) value will be returned:
23
24       SPI_OK_REL_UNREGISTER
25           if the tuplestore has been successfully removed from the registry
26
27       On error, one of the following negative values is returned:
28
29       SPI_ERROR_ARGUMENT
30           if name is NULL
31
32       SPI_ERROR_UNCONNECTED
33           if called from an unconnected C function
34
35       SPI_ERROR_REL_NOT_FOUND
36           if name is not found in the registry for the current connection
37
38
39
40PostgreSQL 14.3                      2022           SPI_UNREGISTER_RELATION(3)
Impressum