Fix oversight in the previous patch that made LIKE throw error for \ at the

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

Commit: ece869b11eedd082ccd0bbd73ab9013c9ad9fa13
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-05-28T18:18:19Z
Releases: 9.0.0
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

PathChange+/−
src/backend/utils/adt/like_match.c modified +4 −2