aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_numeric.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-08-25 14:33:08 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-08-25 14:33:08 -0400
commit77ce50a40364a3605f775d3f0efca2e1caa70291 (patch)
treec521190f62a5d12b334f7ce9c4e7cbf58dffe9a8 /contrib/btree_gist/btree_numeric.c
parent2e95f1f002bc3f0504dffa6d9ffed0dc914ecec1 (diff)
downloadpostgresql-77ce50a40364a3605f775d3f0efca2e1caa70291.tar.gz
postgresql-77ce50a40364a3605f775d3f0efca2e1caa70291.zip
Fix psql lexer to avoid use of backtracking.
Per previous experimentation, backtracking slows down lexing performance significantly (by about a third). It's usually pretty easy to avoid, just need to have rules that accept an incomplete construct and do whatever the lexer would have done otherwise. The backtracking was introduced by the patch that added quoted variable substitution. Back-patch to 9.0 where that was added.
Diffstat (limited to 'contrib/btree_gist/btree_numeric.c')
0 files changed, 0 insertions, 0 deletions