Fix oversight in the previous patch that made LIKE throw error for \ at the
Tom Lane <tgl@sss.pgh.pa.us>
Fix oversight in the previous patch that made LIKE throw error for \ at the end of the pattern: the code path that handles \ just after % should throw error too. As in the previous patch, not back-patching for fear of breaking apps that worked before.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/like_match.c | modified | +4 −2 |