SPI_GETRELNAME(3)
okay bestie, welcome to SPI_GETRELNAME(3) β the manual page that's literally about getting a relation's name, and it's lowkey iconic for it π
β¨
π NAME π
SPI_getrelname β return the name of the specified relation π«Ά
β¨ SYNOPSIS β¨
char * SPI_getrelname(Relation rel)
π DESCRIPTION π
SPI_getrelname returns a copy of the name of the specified relation. That's the whole main-character move, no cap.
And when you're done and don't need it anymore, you can use pfree to release the copy of the name π
π«Ά ARGUMENTS π«Ά
Relation relβ input relation. That's the input, bestie, that's it π
π RETURN VALUE π
The name of the specified relation. It's giving name-returning excellence, fr fr β¨
π source/version/date check: PostgreSQL 15.19 Documentation, 2026 β mwah, go slay those relation names π β¨
π¦ 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