pgsql: Fix oversight in the previous patch that made LIKE throw error

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix oversight in the previous patch that made LIKE throw error
Date: 2010-05-28 18:18:19
Message-ID: 20100528181819.96C617541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
like_match.c (r1.28 -> r1.29)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/like_match.c?r1=1.28&r2=1.29)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-05-28 19:21:31 Re: pgsql: PGDLLEXPORT is __declspec (dllexport) only on MSVC, but is
Previous Message Bruce Momjian 2010-05-28 18:04:36 pgsql: Document use of VPATH builds.