diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-05-28 17:35:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-05-28 17:35:30 +0000 |
commit | b7d7df63c876df13e66e72618793a206ed4776c4 (patch) | |
tree | 708a6ee243921a9aa94cd62ae6064d0274f0c584 /src/backend/access/gist/gist.c | |
parent | 813cd7cb1f229ca83bb9535807e917fc326d92f1 (diff) | |
download | postgresql-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