Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SPI_getrelname - return the name of the specified relation

Arguments

Relation rel input relation

Description

SPI_getrelname returns a copy of the name of the specified relation. (You can use pfree to release the copy of the name when you don't need it anymore.)

Name

SPI_getrelname - return the name of the specified relation

Return Value

The name of the specified relation. PostgreSQL 17.5 2025 SPI_GETRELNAME(3)

Synopsis

char * SPI_getrelname(Relation rel)

See Also