From 3b3182195304777430d16d7967f0adcd8dbfe2ed Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 7 Dec 2022 13:56:48 -0500 Subject: [PATCH] Doc: subdivide System Information Functions and Operators. Provide 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/4026789.1670426602@sss.pgh.pa.us --- doc/src/sgml/func.sgml | 50 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 2052d3c844..e57ffce971 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -22168,6 +22168,14 @@ SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n); System Information Functions and Operators + + The functions described in this section are used to obtain various + information about a PostgreSQL installation. + + + + Session Information Functions + shows several functions that extract session and system information. @@ -22711,6 +22719,11 @@ SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n); does not, since it unifies users and roles into a single kind of entity.) + + + + Access Privilege Inquiry Functions + privilege querying @@ -23256,6 +23269,11 @@ SELECT has_function_privilege('joeuser', 'myfunc(int, text)', 'execute'); + + + + Schema Visibility Inquiry Functions + shows functions that determine whether a certain object is visible in the @@ -23483,6 +23501,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype); type name in this way — if the name can be recognized at all, it must be visible. + + + + System Catalog Information Functions + lists functions that extract information from the system catalogs. @@ -24421,6 +24444,11 @@ SELECT collation for ('foo' COLLATE "de_DE"); + + + + Object Information and Addressing Functions + lists functions related to database object identification and addressing. @@ -24554,6 +24582,11 @@ SELECT collation for ('foo' COLLATE "de_DE"); + + + + Comment Information Functions + comment about database objects @@ -24648,6 +24681,11 @@ SELECT collation for ('foo' COLLATE "de_DE"); + + + + Transaction ID and Snapshot Information Functions + The functions shown in provide server transaction information in an exportable form. The main @@ -25003,6 +25041,11 @@ SELECT collation for ('foo' COLLATE "de_DE"); + + + + Committed Transaction Information Functions + The functions shown in provide information about when past transactions were committed. @@ -25075,6 +25118,11 @@ SELECT collation for ('foo' COLLATE "de_DE"); + + + + Control Data Functions + The functions shown in print information initialized during initdb, such @@ -25413,6 +25461,8 @@ SELECT collation for ('foo' COLLATE "de_DE"); + +