BUG #2729: Backslash escaping not working as expected

From: "Michael van Rooyen" <mvanr(at)bigfoot(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2729: Backslash escaping not working as expected
Date: 2006-11-01 13:19:16
Message-ID: 200611011319.kA1DJGfn043210@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2729
Logged by: Michael van Rooyen
Email address: mvanr(at)bigfoot(dot)com
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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Maxim Britov 2006-11-01 13:57:22 documentation
Previous Message Tom Lane 2006-11-01 04:18:53 Re: COPY fails on 8.1 with invalid byte sequences in text