Repair recently-introduced error in makeIndexable for LIKE:

Tom Lane <tgl@sss.pgh.pa.us>

Commit: bad3b3068d97c8acf68958176fa017d5033fe773
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-06-07T14:28:26Z
Releases: 7.1.1
Repair recently-introduced error in makeIndexable for LIKE:
a non-leading % would be put into the >=/<= patterns.  Also, repair
longstanding confusion about whether %% means a literal %%.  The SQL92
doesn't say any such thing, and textlike() knows that, but gram.y didn't.

Files

PathChange+/−
src/backend/parser/gram.y modified +25 −12
src/backend/utils/adt/like.c modified +4 −2