Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9b29f9f

Browse files
committed
COPY performance improvements. Avoid calling CopyGetData for each input
character, tighten the inner loops of CopyReadLine and CopyReadAttribute,arrange to parse out all the attributes of a line in just one call insteadof one CopyReadAttribute call per attribute, be smarter about which clientencodings require slow pg_encoding_mblen() loops. Also, clean up themishmash of static variables and overly-long parameter lists in favor ofpassing around a single CopyState struct containing all the state data.Original patch by Alon Goldshuv, reworked by Tom Lane.
1 parent28d3ee4 commit9b29f9f

File tree

1 file changed

+1507
-1043
lines changed

1 file changed

+1507
-1043
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp