SPI_getrelname(rel)
Input relation
The name of the specified relation
SPI_getrelname returns the name of the specified relation.
Returns a newly-allocated copy of the rel name. (Use pfree() to release the copy when done with it.)