Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 50DCC9FB561 for ; Mon, 7 May 2007 03:15:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 88066-06 for ; Mon, 7 May 2007 03:15:29 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from mx27.mail.ru (mx34.mail.ru [194.67.23.200]) by postgresql.org (Postfix) with ESMTP id 1DF149FB51C for ; Mon, 7 May 2007 03:15:30 -0300 (ADT) Received: from [217.70.107.253] (port=12221 helo=ws024) by mx27.mail.ru with smtp id 1HkwVM-000Dg0-00 for pgsql-jdbc@postgresql.org; Mon, 07 May 2007 10:15:29 +0400 Message-ID: <00c401c7906f$1ada1d20$5405a8c0@nnp.nsk.su> From: "roman" To: Subject: postgresql-8.2-504.jdbc4.jar and backslash Date: Mon, 7 May 2007 13:15:25 +0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C1_01C790A9.C6730D10" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/17 X-Sequence-Number: 17007 This is a multi-part message in MIME format. ------=_NextPart_000_00C1_01C790A9.C6730D10 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Hello. I use this jar driver for connection to postgresql 8.2.3-1 in Windows = XP. In my database I use UFT8 codepage.=20 I need to save some filepath in some character varying(255) field in = table1. That path looks like this: f:\temp in String class like this: "f:\\temp"; I try to execute following SQL statement: UPDATE "table1" SET "field1"=3D'f:\\temp' in String object it looks like: "UPDATE \"table1\" SET = \"field1\"=3D'f:\\temp'". After statement executed I get on SELECT folowing: f:emp Why? There were two back slashes!!! When I try to execute that update statement in pgAdminIII everything is = OK!!! Please, help me to decide this problem. How can I save filepath with = backslashes? ------=_NextPart_000_00C1_01C790A9.C6730D10 Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable
Hello.
I use this jar driver for connection to = postgresql=20 8.2.3-1 in Windows XP.
In my database I use UFT8 codepage. =
I need to save some filepath in some = character=20 varying(255) field in table1.
That path looks like this: = f:\temp
in String class like this: = "f:\\temp";
I try to execute following SQL=20 statement:
UPDATE "table1" SET=20 "field1"=3D'f:\\temp'
in String object it looks like: "UPDATE = \"table1\"=20 SET \"field1\"=3D'f:\\temp'".
After statement executed I get on = SELECT=20 folowing:
f:<tab symbol>emp
 
Why? There were two back = slashes!!!
When I try to execute that update = statement in=20 pgAdminIII everything is OK!!!
 
Please, help me to decide this problem. = How can I=20 save filepath with backslashes?
------=_NextPart_000_00C1_01C790A9.C6730D10--