1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

Change path in example of file_fdw for logs

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
This commit is contained in:
Magnus Hagander 2020-09-06 19:28:32 +02:00
parent f04203ab7e
commit a82919afe2

View File

@ -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>