Improve efficiency of attribute scanning in CopyReadAttributesCSV.

Andrew Dunstan <andrew@dunslane.net>

Commit: 95c238d941216feca4116359f2b4632fb9a9081d
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2008-03-08T01:16:26Z
Releases: 8.4.0
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

Files

PathChange+/−
src/backend/commands/copy.c modified +64 −50