1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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
This commit is contained in:
Tom Lane
2011-02-20 14:06:59 -05:00
parent bb74240794
commit 7c5d0ae707
19 changed files with 1171 additions and 55 deletions

1
contrib/file_fdw/sql/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/file_fdw.sql