Tweak grammar to use FastAppend rather than lappend when constructing
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Aug 2003 20:34:33 +0000 (20:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Aug 2003 20:34:33 +0000 (20:34 +0000)
commit54749bb048465587f1329ae35bbc11568ce90c87
treefcf1b786585475140d4b6d8be9d83139b4e47c9b
parentda432c8016391a9d15e6bd591136c287ff2cf9f8
Tweak grammar to use FastAppend rather than lappend when constructing
expr_lists.  This appears to be the only remaining O(N^2) bottleneck
in processing many-way 'x IN (a,b,c,...)' conditions.
src/backend/parser/gram.y
src/include/nodes/pg_list.h