SPI_UNRE..._RELATION(3)
π SPI_UNRE..._RELATION(3) π
hey bestie, welcome to the PostgreSQL 17.11 Documentation page for SPI_unregister_relation, aka the manual page tagged SPI_UNRE..._RELATION(3). it's giving βclean up your ephemeral relation registryβ energy, and honestly? iconic. β¨
πΈ NAME πΈ
SPI_unregister_relation β remove an ephemeral named relation from the registry π«Ά
π¦ SYNOPSIS π¦
int SPI_unregister_relation(const char * name)
π DESCRIPTION π
okay so SPI_unregister_relation removes an ephemeral named relation from the registry for the current connection. that's the whole assignment, and it ate. π
π ARGUMENTS π
const char * nameβ the relation registry entry name, bestie. that's the name it's looking for in the registry. π―
π₯ RETURN VALUE π₯
if the execution of the command was successful, then you get the following nonnegative value:
SPI_OK_REL_UNREGISTERβ returned if the tuplestore has been successfully removed from the registry. slay, it worked! β
on error, one of these negative values is returned:
SPI_ERROR_ARGUMENTβ returned ifnameisNULL. oop, bestie, the name is missing. πSPI_ERROR_UNCONNECTEDβ returned if called from an unconnected C function. not connected, not the vibe. π«SPI_ERROR_REL_NOT_FOUNDβ returned ifnameis not found in the registry for the current connection. it searched, and it was not there. π
mwah π β this little manual moment was brought to you by PostgreSQL 17.11, dated 2026, and the manual tag SPI_UNRE..._RELATION(3). periodt. ππ
π¦ where this page comes from
- opensuse-leap 16.0: postgresql17-docs 17.11-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