Re: Can anyone explain? - Mailing list pgsql-general

From Tom Lane
Subject Re: Can anyone explain?
Date
Msg-id 9517.1222623285@sss.pgh.pa.us
Whole thread Raw
In response to Can anyone explain?  ("Abraham, Danny" <danny_abraham@bmc.com>)
List pgsql-general
"Abraham, Danny" <danny_abraham@bmc.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

pgsql-general by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pg_start_backup() takes too long
Next
From: Seb
Date:
Subject: Re: inserting to a multi-table view