This is a discussion on backslashes in queries containing LIKE within the Pgsql General forums, part of the PostgreSQL category; --> Hi, We have a problem with backslashes in queries containing LIKE. insert into table (field) values ('IM\\test') select * ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, We have a problem with backslashes in queries containing LIKE. insert into table (field) values ('IM\\test') select * from table where field = 'IM\\test' returns one record select * from table where field LIKE 'IM\\%' returns no record Why is postgres behaves like that ? Can someone help us ? Scripts for testing purpose have been attached. Mickael Faivre-Macon. ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend |