Skip to content

Commit f340977

Browse files
committed
Document pg_ls_*dir hiding of directories and special files
It's strange that a directory-listing function does not list all entries in a directory, so let's at least document it. This involves pg_ls_logdir pg_ls_waldir pg_ls_archive_statusdir pg_ls_tmpdir Backpatch as far back as it applies cleanly (and as far as as each function exists). REL_10_STABLE uses different wording, but hopefully people are not reading docs so old to write new apps anyway. Author: Justin Pryzby <pryzby@telsasoft.com> Discussion: https://postgr.es/m/20200305161838.GJ684@telsasoft.com
1 parent cf72898 commit f340977

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/src/sgml/func.sgml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21862,6 +21862,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
2186221862
(mtime) of each file in the log directory. By default, only superusers
2186321863
and members of the <literal>pg_monitor</literal> role can use this function.
2186421864
Access may be granted to others using <command>GRANT</command>.
21865+
Filenames beginning with a dot, directories, and other special files are not shown.
2186521866
</para>
2186621867

2186721868
<indexterm>
@@ -21873,6 +21874,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
2187321874
default only superusers and members of the <literal>pg_monitor</literal> role
2187421875
can use this function. Access may be granted to others using
2187521876
<command>GRANT</command>.
21877+
Filenames beginning with a dot, directories, and other special files are not shown.
2187621878
</para>
2187721879

2187821880
<indexterm>
@@ -21885,6 +21887,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
2188521887
superusers and members of the <literal>pg_monitor</literal> role can
2188621888
use this function. Access may be granted to others using
2188721889
<command>GRANT</command>.
21890+
Filenames beginning with a dot, directories, and other special files are not shown.
2188821891
</para>
2188921892

2189021893
<indexterm>
@@ -21898,6 +21901,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
2189821901
default only superusers and members of the <literal>pg_monitor</literal>
2189921902
role can use this function. Access may be granted to others using
2190021903
<command>GRANT</command>.
21904+
Filenames beginning with a dot, directories, and other special files are not shown.
2190121905
</para>
2190221906

2190321907
<indexterm>

0 commit comments

Comments
 (0)