Skip to content

Commit e413225

Browse files
committed
more verbose comments, ref to regnamespace
1 parent 554c5fe commit e413225

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

doc/src/sgml/dump_stat.sgml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -121,37 +121,37 @@ INSERT INTO pg_catalog.pg_statistic SELECT * FROM ins;
121121

122122
<listitem>
123123
<para>
124-
Fetches the schema-qualified operator name by operator id.
124+
Fetches the schema-qualified operator name by operator id <literal>opid</>.
125125
</para>
126126
</listitem>
127127
</varlistentry>
128128

129129
<varlistentry>
130130
<term>
131-
<function>to_schema_qualified_type(opid oid) returns text</function>
131+
<function>to_schema_qualified_type(typid oid) returns text</function>
132132
<indexterm>
133133
<primary>to_schema_qualified_type</primary>
134134
</indexterm>
135135
</term>
136136

137137
<listitem>
138138
<para>
139-
Fetches the schema-qualified type name by type id.
139+
Fetches the schema-qualified type name by type id <literal>typid</>.
140140
</para>
141141
</listitem>
142142
</varlistentry>
143143

144144
<varlistentry>
145145
<term>
146-
<function>to_schema_qualified_relation(opid oid) returns text</function>
146+
<function>to_schema_qualified_relation(relid oid) returns text</function>
147147
<indexterm>
148148
<primary>to_schema_qualified_relation</primary>
149149
</indexterm>
150150
</term>
151151

152152
<listitem>
153153
<para>
154-
Fetches the schema-qualified relation name by relation id.
154+
Fetches the schema-qualified relation name by relation id <literal>relid</>.
155155
</para>
156156
</listitem>
157157
</varlistentry>
@@ -181,8 +181,8 @@ INSERT INTO pg_catalog.pg_statistic SELECT * FROM ins;
181181

182182
<listitem>
183183
<para>
184-
Given a relation name and a column number, returns the column name
185-
as <literal>text</>.
184+
Given a relation name <literal>relation</> and a column number
185+
<literal>colnum</>, returns the column name as <literal>text</>.
186186
</para>
187187
</listitem>
188188
</varlistentry>
@@ -197,8 +197,8 @@ INSERT INTO pg_catalog.pg_statistic SELECT * FROM ins;
197197

198198
<listitem>
199199
<para>
200-
Given a relation name and a column name, returns the column number
201-
as <literal>int2</>.
200+
Given a relation name <literal>relation</> and a column name
201+
<literal>col</>, returns the column number as <literal>int2</>.
202202
</para>
203203
</listitem>
204204
</varlistentry>
@@ -213,8 +213,8 @@ INSERT INTO pg_catalog.pg_statistic SELECT * FROM ins;
213213

214214
<listitem>
215215
<para>
216-
Given a relation name and a column name, returns the column type
217-
as <literal>text</>.
216+
Given a relation name <literal>relation</> and a column name
217+
<literal>col</>, returns the column type as <literal>text</>.
218218
</para>
219219
</listitem>
220220
</varlistentry>
@@ -230,9 +230,10 @@ INSERT INTO pg_catalog.pg_statistic SELECT * FROM ins;
230230
<listitem>
231231
<para>
232232
<function>to_namespace</function> duplicates the behavior of
233-
the cast to <literal>regnamespace</> type, which is not
234-
present in the 9.4 release (and prior releases). This
235-
function returns the <literal>oid</> of the given schema.
233+
the cast to the
234+
<link linkend="datatype-oid"><structname>regnamespace</structname></link>
235+
type, which is not present in the 9.4 release (and prior releases).
236+
This function returns the <literal>oid</> of the given schema.
236237
</para>
237238
</listitem>
238239
</varlistentry>

0 commit comments

Comments
 (0)