aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-05-28 17:35:30 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-05-28 17:35:30 +0000
commitb7d7df63c876df13e66e72618793a206ed4776c4 (patch)
tree708a6ee243921a9aa94cd62ae6064d0274f0c584 /src/backend/access/gist/gist.c
parent813cd7cb1f229ca83bb9535807e917fc326d92f1 (diff)
downloadpostgresql-b7d7df63c876df13e66e72618793a206ed4776c4.tar.gz
postgresql-b7d7df63c876df13e66e72618793a206ed4776c4.zip
Rewrite LIKE's %-followed-by-_ optimization so it really works (this time
for sure ;-)). It now also optimizes more cases, such as %_%_. Improve comments too. Per bug #5478. In passing, also rename the TCHAR macro to GETCHAR, because pgindent is messing with the formatting of the former (apparently it now thinks TCHAR is a typedef name). Back-patch to 8.3, where the bug was introduced.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions