"Abraham, Danny" <danny_abraham(at)bmc(dot)com> writes:
> set standard_conforming_strings=on;
> select 'abcd\efg' like 'abcd\efg' ==> F (I expected it to be T)
> select 'abcd\efg' like 'abcd\\efg' ==> T (I expected it to be F)
Backslash is the default LIKE escape character.
regards, tom lane