summaryrefslogtreecommitdiff
path: root/src/backend/utils/init
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:37 -0400
commit9354f5b76acf37c96ed0173ff8ab3e415bae2b04 (patch)
tree2e5d3da4c3d938a1b91037539df1d7e1b586fad3 /src/backend/utils/init
parentb7cd5c836ae952b5911eac9ec5f888779a2d0b81 (diff)
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 'src/backend/utils/init')
0 files changed, 0 insertions, 0 deletions