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:
1
contrib/file_fdw/sql/.gitignore
vendored
Normal file
1
contrib/file_fdw/sql/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/file_fdw.sql
|
Reference in New Issue
Block a user