SPI_GETNSPNAME(3)
π NAME π
okay so this is the SPI_GETNSPNAME(3) page from the PostgreSQL 13.23 Documentation, and it's short but iconic: SPI_getnspname returns the namespace of the specified relation. π
β¨ SYNOPSIS β¨
char * SPI_getnspname(Relation rel)
π¦ DESCRIPTION π¦
SPI_getnspname returns a copy of the name of the namespace that the specified Relation belongs to. No cap, this is equivalent to the relation's schema. π«Ά
You should pfree the return value of this function when you are finished with it. That part matters, bestie β don't just leave it vibing in memory. π
πΈ ARGUMENTS πΈ
Relation relβ the input relation. literally the relation you're asking about. β¨
π RETURN VALUE π
The name of the specified relation's namespace. that's the whole return vibe. π
mwah π β that's the page, bestie. Source/version: PostgreSQL 13.23, dated 2025; page: SPI_GETNSPNAME(3). periodt. π
π¦ where this page comes from
- opensuse-leap 16.0: postgresql13-docs 13.23-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