18th October 2018: PostgreSQL 11 Released!
Unsupported versions: 7.3 / 7.2 / 7.1

SPI_getrelname

Name

SPI_getrelname -- Returns the name of the specified relation

Synopsis

SPI_getrelname(rel)

Inputs

Relation rel

Input relation

Outputs

char *

The name of the specified relation

Description

SPI_getrelname returns the name of the specified relation.

Algorithm

Returns a newly-allocated copy of the rel name. (Use pfree() to release the copy when done with it.)