diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-05-28 17:35:23 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-05-28 17:35:23 +0000 |
commit | dbde97cdde4afbd0a175880446e301f1bfb8994c (patch) | |
tree | 970af6c95b742d1e7efe063a4280ca5375095462 /src/tutorial/advanced.source | |
parent | e54b0cba96683ae9a33458a9cbd5ea53c479754d (diff) | |
download | postgresql-dbde97cdde4afbd0a175880446e301f1bfb8994c.tar.gz postgresql-dbde97cdde4afbd0a175880446e301f1bfb8994c.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/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions