From: | Rolf Luettecke <rl(at)os-net(dot)de> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Backslash-problem |
Date: | 1998-08-23 14:40:39 |
Message-ID: | 35E029E7.2637E001@os-net.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter T Mount | 1998-08-23 18:50:37 | Re: [INTERFACES] JDBC driver |
Previous Message | Bruce Momjian | 1998-08-22 03:53:39 | Re: [INTERFACES] Re: [HACKERS] changes in 6.4 |