Skip to content

Commit 0b503ec

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 a8591cb commit 0b503ec

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/src/sgml/config.sgml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4899,6 +4899,8 @@ CREATE TABLE postgres_log
48994899
<programlisting>
49004900
COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
49014901
</programlisting>
4902+
It is also possible to access the file as a foreign table, using
4903+
the supplied <xref linkend="file-fdw"> module.
49024904
</para>
49034905

49044906
<para>

doc/src/sgml/file-fdw.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,11 @@
187187
<title id="csvlog-fdw">Create a Foreign Table for PostgreSQL CSV Logs</title>
188188

189189
<para>
190-
One of the obvious uses for the <literal>file_fdw</> is to make
190+
One of the obvious uses for <literal>file_fdw</> is to make
191191
the PostgreSQL activity log available as a table for querying. To
192-
do this, first you must be logging to a CSV file, which here we
192+
do this, first you must be <link
193+
linkend="runtime-config-logging-csvlog">logging to a CSV file,</link>
194+
which here we
193195
will call <literal>pglog.csv</>. First, install <literal>file_fdw</>
194196
as an extension:
195197
</para>

0 commit comments

Comments
 (0)