git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 76720bd) | patch
Skip text->binary conversion of unnecessary columns in contrib/file_fdw.
2012年7月12日 20:26:59 +0000 (16:26 -0400)
2012年7月12日 20:26:59 +0000 (16:26 -0400)
commit a36088bcfae85eeeb55e85c3f06c61cb2f0621c6
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
contrib/file_fdw/file_fdw.c diff | blob | blame | history
src/backend/commands/copy.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /