Postgresql 中文操作指南
SPI_getnspname
SPI_getnspname —返回指定关系的命名空间
SPI_getnspname — return the namespace of the specified relation
Description
SPI_getnspname 返回指定 Relation 所属命名空间名称的副本。这等效于该关系的模式。您应该 pfree 使用完此函数的返回值时。
SPI_getnspname returns a copy of the name of the namespace that the specified Relation belongs to. This is equivalent to the relation’s schema. You should pfree the return value of this function when you are finished with it.