Skip to content

Commit 9bb4f98

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 8924ca8 commit 9bb4f98

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
@@ -7017,6 +7017,8 @@ CREATE TABLE postgres_log
70177017
<programlisting>
70187018
COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
70197019
</programlisting>
7020+
It is also possible to access the file as a foreign table, using
7021+
the supplied <xref linkend="file-fdw"/> module.
70207022
</para>
70217023

70227024
<para>

doc/src/sgml/file-fdw.sgml

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

0 commit comments

Comments
 (0)