git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2a09335)
Change path in example of file_fdw for logs
Sun, 6 Sep 2020 17:28:32 +0000 (19:28 +0200)
Sun, 6 Sep 2020 17:28:32 +0000 (19:28 +0200)
It's better to use a relative path into the data directory, than to a
hardcoded home directory of user 'josh'.

Discussion: https://postgr.es/m/CABUevEyuf67Yu_r9gpDMs5MKifK7+-+pe=ZjKzya4JEn9kUk1w@mail.gmail.com


diff --git a/doc/src/sgml/file-fdw.sgml b/doc/src/sgml/file-fdw.sgml
index 599952ed3d7d76cd9b3ebd93f4d45c29b300d618..29d79832a33cd8da841f9aadc4f78d2c9f4db88b 100644 (file)
--- a/doc/src/sgml/file-fdw.sgml
+++ b/doc/src/sgml/file-fdw.sgml
@@ -267,7 +267,7 @@ CREATE FOREIGN TABLE pglog (
application_name text,
backend_type text
) SERVER pglog
-OPTIONS ( filename '/home/josh/data/log/pglog.csv', format 'csv' );
+OPTIONS ( filename log/pglog.csv', format 'csv' );
</programlisting>
</para>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /