postgresql/contrib/file_fdw
Tom Lane a36088bcfa Skip text->binary conversion of unnecessary columns in contrib/file_fdw.
When reading from a text- or CSV-format file in file_fdw, the datatype
input routines can consume a significant fraction of the runtime.
Often, the query does not need all the columns, so we can get a useful
speed boost by skipping I/O conversion for unnecessary columns.

To support this, add a "convert_selectively" option to the core COPY code.
This is undocumented and not accessible from SQL (for now, anyway).

Etsuro Fujita, reviewed by KaiGai Kohei
2012-07-12 16:26:59 -04:00
..
data Add FORCE_NOT_NULL support to the file_fdw foreign data wrapper. 2011-09-16 16:35:51 -04:00
expected
input Add FORCE_NOT_NULL support to the file_fdw foreign data wrapper. 2011-09-16 16:35:51 -04:00
output file_fdw: Improve error message 2012-05-17 20:20:33 +03:00
sql
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
file_fdw--1.0.sql Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
file_fdw.c Skip text->binary conversion of unnecessary columns in contrib/file_fdw. 2012-07-12 16:26:59 -04:00
file_fdw.control
Makefile