Skip to content

Commit de2d192

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 b1ae70b commit de2d192

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
@@ -7075,6 +7075,8 @@ CREATE TABLE postgres_log
70757075
<programlisting>
70767076
COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
70777077
</programlisting>
7078+
It is also possible to access the file as a foreign table, using
7079+
the supplied <xref linkend="file-fdw"/> module.
70787080
</para>
70797081

70807082
<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)