From 4f6f5db47484c6550cfe792e80fc2c824154995e Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Tue, 29 Mar 2005 02:53:53 +0000 Subject: Add SPI_getnspname(), including documentation. --- doc/src/sgml/spi.sgml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/spi.sgml b/doc/src/sgml/spi.sgml index 86949a9a439..52e41e1b890 100644 --- a/doc/src/sgml/spi.sgml +++ b/doc/src/sgml/spi.sgml @@ -1,5 +1,5 @@ @@ -2153,6 +2153,60 @@ char * SPI_getrelname(Relation rel) + + + SPI_getnspname + + + + SPI_getnspname + return the namespace of the specified relation + + + SPI_getnspname + + + +char * SPI_getnspname(Relation rel) + + + + + Description + + + 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. + + + + + Arguments + + + + Relation rel + + + input relation + + + + + + + + Return Value + + + The name of the specified relation's namespace. + + + + -- cgit v1.2.3