diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 2227ae33c8..19abd7fe65 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -5870,6 +5870,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. diff --git a/doc/src/sgml/file-fdw.sgml b/doc/src/sgml/file-fdw.sgml index 7944f0d4a7..87f2703f0a 100644 --- a/doc/src/sgml/file-fdw.sgml +++ b/doc/src/sgml/file-fdw.sgml @@ -217,7 +217,9 @@ 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 logging to a CSV file, + which here we will call pglog.csv. First, install file_fdw as an extension: