pgsql: Make the file_fdw validator check that a filename option has bee

Started by Tom Laneabout 15 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Make the file_fdw validator check that a filename option has been provided.

This was already a runtime failure condition, but it's better to check
at validation time if possible. Lightly modified version of a patch
by Shigeru Hanada.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f8bd267d35503109255c99eae96c86ba8ba1b56f

Modified Files
--------------
contrib/file_fdw/file_fdw.c | 18 +++++++++++++++---
contrib/file_fdw/input/file_fdw.source | 1 +
contrib/file_fdw/output/file_fdw.source | 2 ++
3 files changed, 18 insertions(+), 3 deletions(-)