]> granicus.if.org Git - postgresql/commit
Improve efficiency of attribute scanning in CopyReadAttributesCSV.
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 8 Mar 2008 01:16:26 +0000 (01:16 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 8 Mar 2008 01:16:26 +0000 (01:16 +0000)
commit95c238d941216feca4116359f2b4632fb9a9081d
treea3cb0eb7000c1901032b4c49906e0dbb47adec34
parent9c767ad57b2dfbbed6b08fd56c8ce320e6fe8849
Improve efficiency of attribute scanning in CopyReadAttributesCSV.
The loop is split into two parts, inside quotes, and outside quotes, saving some instructions in both parts.

Heikki Linnakangas
src/backend/commands/copy.c