Add contrib/file_fdw foreign-data wrapper for reading files via COPY.
This is both very useful in its own right, and an important test case for the core FDW support. This commit includes a small refactoring of copy.c to expose its option checking code as a separately callable function. The original patch submission duplicated hundreds of lines of that code, which seemed pretty unmaintainable. Shigeru Hanada, reviewed by Itagaki Takahiro and Tom Lane
Showing
contrib/file_fdw/.gitignore
0 → 100644
contrib/file_fdw/Makefile
0 → 100644
contrib/file_fdw/data/agg.bad
0 → 100644
contrib/file_fdw/data/agg.csv
0 → 100644
contrib/file_fdw/data/agg.data
0 → 100644
contrib/file_fdw/file_fdw.c
0 → 100644
contrib/file_fdw/file_fdw.control
0 → 100644
contrib/file_fdw/sql/.gitignore
0 → 100644
doc/src/sgml/file-fdw.sgml
0 → 100644
想要评论请 注册 或 登录