SPI_UNRE..._RELATION(3)

πŸ“¦ version 15.19, in opensuse-leap 16.0

🌸 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 β€” if name is NULL.
  • SPI_ERROR_UNCONNECTED β€” if called from an unconnected C function.
  • SPI_ERROR_REL_NOT_FOUND β€” if name is 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