summaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-05-28 17:35:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-05-28 17:35:36 +0000
commit63c0780dba39e0d25fbd4c5e7a94e9c0e9236ace (patch)
tree4bc98fd80d5610668688294001ae7fdddbc30d9e /src/backend/parser/parse_expr.c
parentcaea7b7aca53ce91ccd7d143264fd1ae31150740 (diff)
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/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions