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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user