]> begriffs open source - ai-pg/blob - full-docs/src/sgml/man3/SPI_getnspname.3
PG 18 docs from https://ftp.postgresql.org/pub/source/v18.0/postgresql-18.0-docs...
[ai-pg] / full-docs / src / sgml / man3 / SPI_getnspname.3
1 '\" t
2 .\"     Title: SPI_getnspname
3 .\"    Author: The PostgreSQL Global Development Group
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5 .\"      Date: 2025
6 .\"    Manual: PostgreSQL 18.0 Documentation
7 .\"    Source: PostgreSQL 18.0
8 .\"  Language: English
9 .\"
10 .TH "SPI_GETNSPNAME" "3" "2025" "PostgreSQL 18.0" "PostgreSQL 18.0 Documentation"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 SPI_getnspname \- return the namespace of the specified relation
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 char * SPI_getnspname(Relation \fIrel\fR)
36 .fi
37 .SH "DESCRIPTION"
38 .PP
39 \fBSPI_getnspname\fR
40 returns a copy of the name of the namespace that the specified
41 Relation
42 belongs to\&. This is equivalent to the relation\*(Aqs schema\&. You should
43 \fBpfree\fR
44 the return value of this function when you are finished with it\&.
45 .SH "ARGUMENTS"
46 .PP
47 Relation \fIrel\fR
48 .RS 4
49 input relation
50 .RE
51 .SH "RETURN VALUE"
52 .PP
53 The name of the specified relation\*(Aqs namespace\&.