Skip to content

Commit 3b31821

Browse files
committed
Doc: subdivide System Information Functions and Operators.
Provide <sect2> subdivisions in 9.26 System Information Functions and Operators. This is useful because it adds a mini-TOC at the top of the page to aid jumping to portions of what's become quite a long section. Also, now that several of the subsections contain multiple tables, it's hard to see the overall structure without headings. Discussion: https://postgr.es/m/[email protected]
1 parent 5e9b122 commit 3b31821

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

doc/src/sgml/func.sgml

+50
Original file line numberDiff line numberDiff line change
@@ -22168,6 +22168,14 @@ SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n);
2216822168
<sect1 id="functions-info">
2216922169
<title>System Information Functions and Operators</title>
2217022170

22171+
<para>
22172+
The functions described in this section are used to obtain various
22173+
information about a <productname>PostgreSQL</productname> installation.
22174+
</para>
22175+
22176+
<sect2 id="functions-info-session">
22177+
<title>Session Information Functions</title>
22178+
2217122179
<para>
2217222180
<xref linkend="functions-info-session-table"/> shows several
2217322181
functions that extract session and system information.
@@ -22711,6 +22719,11 @@ SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n);
2271122719
does not, since it unifies users and roles into a single kind of entity.)
2271222720
</para>
2271322721

22722+
</sect2>
22723+
22724+
<sect2 id="functions-info-access">
22725+
<title>Access Privilege Inquiry Functions</title>
22726+
2271422727
<indexterm>
2271522728
<primary>privilege</primary>
2271622729
<secondary>querying</secondary>
@@ -23256,6 +23269,11 @@ SELECT has_function_privilege('joeuser', 'myfunc(int, text)', 'execute');
2325623269
</tgroup>
2325723270
</table>
2325823271

23272+
</sect2>
23273+
23274+
<sect2 id="functions-info-schema">
23275+
<title>Schema Visibility Inquiry Functions</title>
23276+
2325923277
<para>
2326023278
<xref linkend="functions-info-schema-table"/> shows functions that
2326123279
determine whether a certain object is <firstterm>visible</firstterm> in the
@@ -23483,6 +23501,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
2348323501
type name in this way &mdash; if the name can be recognized at all, it must be visible.
2348423502
</para>
2348523503

23504+
</sect2>
23505+
23506+
<sect2 id="functions-info-catalog">
23507+
<title>System Catalog Information Functions</title>
23508+
2348623509
<para>
2348723510
<xref linkend="functions-info-catalog-table"/> lists functions that
2348823511
extract information from the system catalogs.
@@ -24421,6 +24444,11 @@ SELECT collation for ('foo' COLLATE "de_DE");
2442124444
</tgroup>
2442224445
</table>
2442324446

24447+
</sect2>
24448+
24449+
<sect2 id="functions-info-object">
24450+
<title>Object Information and Addressing Functions</title>
24451+
2442424452
<para>
2442524453
<xref linkend="functions-info-object-table"/> lists functions related to
2442624454
database object identification and addressing.
@@ -24554,6 +24582,11 @@ SELECT collation for ('foo' COLLATE "de_DE");
2455424582
</tgroup>
2455524583
</table>
2455624584

24585+
</sect2>
24586+
24587+
<sect2 id="functions-info-comment">
24588+
<title>Comment Information Functions</title>
24589+
2455724590
<indexterm>
2455824591
<primary>comment</primary>
2455924592
<secondary sortas="database objects">about database objects</secondary>
@@ -24648,6 +24681,11 @@ SELECT collation for ('foo' COLLATE "de_DE");
2464824681
</tgroup>
2464924682
</table>
2465024683

24684+
</sect2>
24685+
24686+
<sect2 id="functions-info-snapshot">
24687+
<title>Transaction ID and Snapshot Information Functions</title>
24688+
2465124689
<para>
2465224690
The functions shown in <xref linkend="functions-pg-snapshot"/>
2465324691
provide server transaction information in an exportable form. The main
@@ -25003,6 +25041,11 @@ SELECT collation for ('foo' COLLATE "de_DE");
2500325041
</tgroup>
2500425042
</table>
2500525043

25044+
</sect2>
25045+
25046+
<sect2 id="functions-info-commit-timestamp">
25047+
<title>Committed Transaction Information Functions</title>
25048+
2500625049
<para>
2500725050
The functions shown in <xref linkend="functions-commit-timestamp"/>
2500825051
provide information about when past transactions were committed.
@@ -25075,6 +25118,11 @@ SELECT collation for ('foo' COLLATE "de_DE");
2507525118
</tgroup>
2507625119
</table>
2507725120

25121+
</sect2>
25122+
25123+
<sect2 id="functions-info-controldata">
25124+
<title>Control Data Functions</title>
25125+
2507825126
<para>
2507925127
The functions shown in <xref linkend="functions-controldata"/>
2508025128
print information initialized during <command>initdb</command>, such
@@ -25413,6 +25461,8 @@ SELECT collation for ('foo' COLLATE "de_DE");
2541325461
</tgroup>
2541425462
</table>
2541525463

25464+
</sect2>
25465+
2541625466
</sect1>
2541725467

2541825468
<sect1 id="functions-admin">

0 commit comments

Comments
 (0)