1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

Add SPI_getnspname(), including documentation.

This commit is contained in:
Neil Conway
2005-03-29 02:53:53 +00:00
parent 70c9763d48
commit 4f6f5db474
3 changed files with 64 additions and 3 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/executor/spi.c,v 1.136 2005/03/25 21:57:58 tgl Exp $
* $PostgreSQL: pgsql/src/backend/executor/spi.c,v 1.137 2005/03/29 02:53:53 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@ -760,6 +760,12 @@ SPI_getrelname(Relation rel)
return pstrdup(RelationGetRelationName(rel));
}
char *
SPI_getnspname(Relation rel)
{
return get_namespace_name(RelationGetNamespace(rel));
}
void *
SPI_palloc(Size size)
{