Skip to content

Commit 33b8fa7

Browse files
committed
doc: cross-link file-fdw and CSV config log sections
There is an file-fdw example that reads the server config file, so cross link them. Reported-by: Oleg Samoilov Discussion: https://postgr.es/m/159800192078.2886.10431506404995508950@wrigleys.postgresql.org Backpatch-through: 9.5
1 parent 0756921 commit 33b8fa7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

doc/src/sgml/config.sgml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5587,6 +5587,8 @@ CREATE TABLE postgres_log
55875587
<programlisting>
55885588
COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
55895589
</programlisting>
5590+
It is also possible to access the file as a foreign table, using
5591+
the supplied <xref linkend="file-fdw"> module.
55905592
</para>
55915593

55925594
<para>

doc/src/sgml/file-fdw.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@
215215
<para>
216216
One of the obvious uses for <literal>file_fdw</> is to make
217217
the PostgreSQL activity log available as a table for querying. To
218-
do this, first you must be logging to a CSV file, which here we
218+
do this, first you must be <link
219+
linkend="runtime-config-logging-csvlog">logging to a CSV file,</link>
220+
which here we
219221
will call <literal>pglog.csv</>. First, install <literal>file_fdw</>
220222
as an extension:
221223
</para>

0 commit comments

Comments
 (0)