file_fdw vs relative paths - Mailing list pgsql-hackers

From Magnus Hagander
Subject file_fdw vs relative paths
Date
Msg-id CABUevExx-hm=cit+A9LeKBH39srvk8Y2tEZeEAj5mP8YfzNKUg@mail.gmail.com
Whole thread Raw
Responses Re: file_fdw vs relative paths  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
According to the documentation, the filename given in file_fdw must be an absolute path. Hwever, it works perfectly fine with a relative path.

So either the documentation is wrong, or the code is wrong. It behaves the same at least back to 9.5, I did not try it further back than that.

I can't find a reference to the code that limits this. AFAICT the documentation has been there since day 1.

Question is, which one is right. Is there a reason we'd want to restrict it to absolute pathnames?

pgsql-hackers by date:

Previous
From: Ajin Cherian
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions
Next
From: Amit Kapila
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions