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

Itagaki Takahiro <itagaki.takahiro@gmail.com>

Commit: 8ddc05fb01ee2c423bf5613426726351e860d4b4
Author: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Date: 2011-02-16T02:19:11Z
Releases: 9.1.0
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.

Files

PathChange+/−
src/backend/commands/copy.c modified +735 −509
src/include/commands/copy.h modified +12 −0