Thread: pgsql: Export the external file reader used in COPY FROM as APIs.

pgsql: Export the external file reader used in COPY FROM as APIs.

From
Itagaki Takahiro
Date:
Export the external file reader used in COPY FROM as APIs.
They are expected to be used by extension modules like file_fdw.
There are no user-visible changes.

Itagaki Takahiro
Reviewed and tested by Kevin Grittner and Noah Misch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8ddc05fb01ee2c423bf5613426726351e860d4b4

Modified Files
--------------
src/backend/commands/copy.c | 1244 +++++++++++++++++++++++++------------------
src/include/commands/copy.h |   12 +
2 files changed, 747 insertions(+), 509 deletions(-)