The following bug has been logged online:
Bug reference: 2729
Logged by: Michael van Rooyen
Email address: [EMAIL PROTECTED]
PostgreSQL version: 8.1.4
Operating system: Linux
Description: Backslash escaping not working as expected
Details:
The following query from psql:
select * from product where name like '%\\%';
Yields products whose names end with a %. I would have expected it to yeild
products whose names contained a backslash.
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match