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:
parent
f04203ab7e
commit
a82919afe2
@ -267,7 +267,7 @@ CREATE FOREIGN TABLE pglog (
|
|||||||
application_name text,
|
application_name text,
|
||||||
backend_type text
|
backend_type text
|
||||||
) SERVER pglog
|
) SERVER pglog
|
||||||
OPTIONS ( filename '/home/josh/data/log/pglog.csv', format 'csv' );
|
OPTIONS ( filename log/pglog.csv', format 'csv' );
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user