From: ovadyaj@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7505: Backslash escaping not necessary
Date: Fri, 24 Aug 2012 19:59:59 +0000
Message-ID: <E1T502x-0004da-K3@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 7505
Logged by: Jeff Ovadya
Email address: ovadyaj@gmail.com
PostgreSQL version: 9.1.4
Operating system: PostgreSQL 9.1.4, compiled by Visual C++ build 150
Description:
INSERT INTO customer VALUES ( 20, 'Mr', 'Jeff', 'Baggott', 'Midtown Street
A\\33', 'Milltown', 'MT9 8NQ', '746 3956'); results in two backslashes
instead of a single one.
Inserting the address with a single backslash succeeds in saving the
backslash with the address.
Also noticed similar issue escaping single quotes: Backslash will not work
to escape, but doubling up the quotes works.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ovadyaj@gmail.com
Subject: Re: BUG #7505: Backslash escaping not necessary
In-Reply-To: <E1T502x-0004da-K3@wrigleys.postgresql.org>
References: <E1T502x-0004da-K3@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox