diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-05-24 18:10:38 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-05-24 18:10:38 +0000 |
commit | fc2660fc253ce871b2f26e7b6dce133092357cb0 (patch) | |
tree | 65635eab224dcd5421891194e1b580fb4b9e9a39 /src/backend/utils/adt/ruleutils.c | |
parent | c6c458e24dd225e719ac289efdee50b2d6d1d16a (diff) | |
download | postgresql-fc2660fc253ce871b2f26e7b6dce133092357cb0.tar.gz postgresql-fc2660fc253ce871b2f26e7b6dce133092357cb0.zip |
Fix LIKE's special-case code for % followed by _. I'm not entirely sure that
this case is worth a special code path, but a special code path that gets
the boundary condition wrong is definitely no good. Per bug #4821 from
Andrew Gierth.
In passing, clean up some minor code formatting issues (excess parentheses
and blank lines in odd places).
Back-patch to 8.3, where the bug was introduced.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions