From: Rolf Luettecke <rl@os-net.de>
To: pgsql-interfaces@postgresql.org
Subject: Backslash-problem
Date: Sun, 23 Aug 1998 16:40:39 +0200
Message-ID: <35E029E7.2637E001@os-net.de> (raw)
Hi Bruce,
I had difficulties to insert varchar/text data into a table,
because the data contains "Backslashes". The problem occured
during access from the "webside" (apache/perl/DBD) and by
accessing the table from M$-Access/ODBC (Vers. ...249) too.
To work around the problem, I deleted a lot of stuff in
the sourcefile: .../src/backend/parser/scansup.c:
...
for (i = 0, j = 0; i < len; i++)
{
newStr[j] = s[i];
j++;
}
newStr[j] = '\0';
return newStr;
...
Now it seems to work ok, inserts from both frontends are
stored correctly - but what is the dark-side of this hack ???
Regards
Rolf Luettecke
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: rl@os-net.de
Subject: Re: Backslash-problem
In-Reply-To: <35E029E7.2637E001@os-net.de>
* 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