doc: cross-link file-fdw and CSV config log sections
authorBruce Momjian
Mon, 31 Aug 2020 20:59:58 +0000 (16:59 -0400)
committerBruce Momjian
Mon, 31 Aug 2020 20:59:58 +0000 (16:59 -0400)
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

doc/src/sgml/config.sgml
doc/src/sgml/file-fdw.sgml

index a03544edce8b8d6d741d7f7fae1c794085cb737f..659234096a276fa5ba8bad3a3d448e0a7be5be9f 100644 (file)
@@ -6689,6 +6689,8 @@ CREATE TABLE postgres_log
 
 COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
 
+        It is also possible to access the file as a foreign table, using
+        the supplied  module.
        
 
        
index d6712cbbfaf23786253a2e33c608c2a622c0af01..d2913ea550c04de22f41b325b06c937a9d5c9dad 100644 (file)
   
    One of the obvious uses for file_fdw is to make
    the PostgreSQL activity log available as a table for querying.  To
-   do this, first you must be logging to a CSV file, which here we
+   do this, first you must be 
+   linkend="runtime-config-logging-csvlog">logging to a CSV file,
+   which here we
    will call pglog.csv.  First, install file_fdw
    as an extension: