Export the external file reader used in COPY FROM as APIs.
Itagaki Takahiro <itagaki.takahiro@gmail.com>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/copy.c | modified | +735 −509 |
| src/include/commands/copy.h | modified | +12 −0 |