aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-07-12 16:26:59 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-07-12 16:26:59 -0400
commita36088bcfae85eeeb55e85c3f06c61cb2f0621c6 (patch)
tree06c174014c3d8a37fe688a8ea1f65e75c629754c /src/backend/utils/adt/xml.c
parent76720bdf1a817d999b9a8c3478a136793e5abec6 (diff)
downloadpostgresql-a36088bcfae85eeeb55e85c3f06c61cb2f0621c6.tar.gz
postgresql-a36088bcfae85eeeb55e85c3f06c61cb2f0621c6.zip
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
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions