SPI_UNRE..._RELATION(3)
πΈ NAME πΈ
Hiii bestie, welcome to the SPI_UNRE..._RELATION(3) page β PostgreSQL 15.19 docs energy. The main character here is SPI_unregister_relation, and it removes an ephemeral named relation from the registry. π
β¨
β¨ SYNOPSIS β¨
int SPI_unregister_relation(const char * name)
π¦ DESCRIPTION π¦
SPI_unregister_relation removes an ephemeral named relation from the registry for the current connection. That's the vibe: registry cleanup, current-connection edition. π«Ά
π ARGUMENTS π
const char * nameβ the relation registry entry name. Yep, literally the name of the registry entry you're removing. π
π₯ 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. iconic behavior.
On error, one of the following negative values is returned:
SPI_ERROR_ARGUMENTβ ifnameisNULL.SPI_ERROR_UNCONNECTEDβ if called from an unconnected C function.SPI_ERROR_REL_NOT_FOUNDβ ifnameis not found in the registry for the current connection.
That's the whole page, bestie. Sign-off tea: source/version is PostgreSQL 15.19, date is 2026, and the manual page is SPI_UNRE..._RELATION(3). ππβ¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql15-docs 15.19-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms