Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 64a169d

Browse files
committed
Docs: make prose discussion match the ordering of Table 9-58.
The "Session Information Functions" table seems to be sorted mostly alphabetically (although it's not perfect), which would be all right if it didn't lead to some related functions being described in a pretty nonintuitive order. Also, the prose discussions after the table were in an order that hardly matched the table at all. Rearrange to make things a bit easier to follow.
1 parent c7a1c5a commit 64a169d

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

doc/src/sgml/func.sgml

+36-36
Original file line numberDiff line numberDiff line change
@@ -15002,6 +15002,12 @@ SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n);
1500215002
<entry>configuration load time</entry>
1500315003
</row>
1500415004

15005+
<row>
15006+
<entry><literal><function>pg_my_temp_schema()</function></literal></entry>
15007+
<entry><type>oid</type></entry>
15008+
<entry>OID of session's temporary schema, or 0 if none</entry>
15009+
</row>
15010+
1500515011
<row>
1500615012
<entry><literal><function>pg_is_other_temp_schema(<type>oid</type>)</function></literal></entry>
1500715013
<entry><type>boolean</type></entry>
@@ -15020,12 +15026,6 @@ SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n);
1502015026
<entry>fraction of the asynchronous notification queue currently occupied (0-1)</entry>
1502115027
</row>
1502215028

15023-
<row>
15024-
<entry><literal><function>pg_my_temp_schema()</function></literal></entry>
15025-
<entry><type>oid</type></entry>
15026-
<entry>OID of session's temporary schema, or 0 if none</entry>
15027-
</row>
15028-
1502915029
<row>
1503015030
<entry><literal><function>pg_postmaster_start_time()</function></literal></entry>
1503115031
<entry><type>timestamp with time zone</type></entry>
@@ -15156,25 +15156,6 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, ..
1515615156
</para>
1515715157
</note>
1515815158

15159-
<indexterm>
15160-
<primary>pg_listening_channels</primary>
15161-
</indexterm>
15162-
15163-
<indexterm>
15164-
<primary>pg_notification_queue_usage</primary>
15165-
</indexterm>
15166-
15167-
<para>
15168-
<function>pg_listening_channels</function> returns a set of names of
15169-
asynchronous notification channels that the current session is listening
15170-
to. <function>pg_notification_queue_usage</function> returns the
15171-
fraction of the total available space for notifications currently
15172-
occupied by notifications that are waiting to be processed, as a
15173-
<type>double</type> in the range 0-1.
15174-
See <xref linkend="sql-listen"> and <xref linkend="sql-notify">
15175-
for more information.
15176-
</para>
15177-
1517815159
<indexterm>
1517915160
<primary>inet_client_addr</primary>
1518015161
</indexterm>
@@ -15202,6 +15183,20 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, ..
1520215183
Unix-domain socket.
1520315184
</para>
1520415185

15186+
<indexterm>
15187+
<primary>pg_conf_load_time</primary>
15188+
</indexterm>
15189+
15190+
<para>
15191+
<function>pg_conf_load_time</function> returns the
15192+
<type>timestamp with time zone</type> when the
15193+
server configuration files were last loaded.
15194+
(If the current session was alive at the time, this will be the time
15195+
when the session itself re-read the configuration files, so the
15196+
reading will vary a little in different sessions. Otherwise it is
15197+
the time when the postmaster process re-read the configuration files.)
15198+
</para>
15199+
1520515200
<indexterm>
1520615201
<primary>pg_my_temp_schema</primary>
1520715202
</indexterm>
@@ -15221,27 +15216,32 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, ..
1522115216
</para>
1522215217

1522315218
<indexterm>
15224-
<primary>pg_postmaster_start_time</primary>
15219+
<primary>pg_listening_channels</primary>
15220+
</indexterm>
15221+
15222+
<indexterm>
15223+
<primary>pg_notification_queue_usage</primary>
1522515224
</indexterm>
1522615225

1522715226
<para>
15228-
<function>pg_postmaster_start_time</function> returns the
15229-
<type>timestamp with time zone</type> when the
15230-
server started.
15227+
<function>pg_listening_channels</function> returns a set of names of
15228+
asynchronous notification channels that the current session is listening
15229+
to. <function>pg_notification_queue_usage</function> returns the
15230+
fraction of the total available space for notifications currently
15231+
occupied by notifications that are waiting to be processed, as a
15232+
<type>double</type> in the range 0-1.
15233+
See <xref linkend="sql-listen"> and <xref linkend="sql-notify">
15234+
for more information.
1523115235
</para>
1523215236

1523315237
<indexterm>
15234-
<primary>pg_conf_load_time</primary>
15238+
<primary>pg_postmaster_start_time</primary>
1523515239
</indexterm>
1523615240

1523715241
<para>
15238-
<function>pg_conf_load_time</function> returns the
15242+
<function>pg_postmaster_start_time</function> returns the
1523915243
<type>timestamp with time zone</type> when the
15240-
server configuration files were last loaded.
15241-
(If the current session was alive at the time, this will be the time
15242-
when the session itself re-read the configuration files, so the
15243-
reading will vary a little in different sessions. Otherwise it is
15244-
the time when the postmaster process re-read the configuration files.)
15244+
server started.
1524515245
</para>
1524615246

1524715247
<indexterm>

0 commit comments

Comments
 (0)