OSDN Git Service

Repair recently-introduced error in makeIndexable for LIKE:
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Jun 1999 14:28:26 +0000 (14:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Jun 1999 14:28:26 +0000 (14:28 +0000)
commitbad3b3068d97c8acf68958176fa017d5033fe773
treed858387784122f3cf29aab0be8832269192ab344
parent43c135e351b69307d5713cef5160f085b358839e
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.
src/backend/parser/gram.y
src/backend/utils/adt/like.c