Re: Seeking rows whit \ - Mailing list pgsql-general

From Francisco Reyes
Subject Re: Seeking rows whit \
Date
Msg-id cone.1211169172.189653.52265.1000@zoraida.natserv.net
Whole thread Raw
In response to Seeking rows whit \  (Francisco Reyes <lists@stringsutils.com>)
List pgsql-general
Gurjeet Singh writes:

> Thus, writing a pattern that actually matches a literal backslash means
> writing four backslashes in the statement.

Thanks.

 select * from mytable where f1 like '%\\\\%';
Worked.

For the archives..

After reading section 4.1.2.2
Also found that these other one also works
select * from mytable where f1 ~ $$\\$$;
select * from mytable where f1 like $$%\\%$$;







pgsql-general by date:

Previous
From: "Gurjeet Singh"
Date:
Subject: Re: Seeking rows whit \
Next
From: "Albe Laurenz"
Date:
Subject: Re: SSL auth problem