Re: LIKE operator and string comparison - Mailing list pgsql-sql

From Tom Lane
Subject Re: LIKE operator and string comparison
Date
Msg-id 19606.1095894584@sss.pgh.pa.us
Whole thread Raw
In response to LIKE operator and string comparison  (Wei Weng <wweng@kencast.com>)
Responses Re: LIKE operator and string comparison  (Wei Weng <wweng@kencast.com>)
List pgsql-sql
Wei Weng <wweng@kencast.com> writes:
> But if I choose to use string comparison, instead of 4 escape characters, I 
> only need 2.

> Why is that?

Backslash is an escape character for LIKE.
        regards, tom lane


pgsql-sql by date:

Previous
From: Wei Weng
Date:
Subject: LIKE operator and string comparison
Next
From: Wei Weng
Date:
Subject: Re: LIKE operator and string comparison