Re: [GENERAL] how to insert '\\' in postgres database using java

2005-07-15 Thread Martijn van Oosterhout
On Fri, Jul 15, 2005 at 04:20:52PM +0200, Ropel wrote: > If, as the name of the column suggests, the backslash is used for > pathnames, why don't you bypass the problem by using normal slash (I.E: > "path/to/my/file")? It works well > with new windows versions and, of course, unix-style pathnames

Re: [GENERAL] how to insert '\\' in postgres database using java

2005-07-15 Thread Michael Glaesemann
Ketan, Please reply to the list as well so others have the opportunity to help you. And please don't top-post. On Jul 16, 2005, at 12:31 AM, ketan shah wrote: but if i update more then two times then it remove all '\'; and finally it returns 'A' or 'B'... But i want 'A\\d\\d\\

Re: [GENERAL] how to insert '\\' in postgres database using java

2005-07-15 Thread Michael Glaesemann
Hi Ketan, On Jul 15, 2005, at 10:49 PM, ketan shah wrote: My question : After updation how i get 'A', 'Mr. B', 'A\\d\\d\\d\\d' i.e. not escapeing '\\'. I am using postgres 7.4.6 and java 1.4. pl. help me out... As you've noticed, the \ character is currently used in PostgreS

Re: [GENERAL] how to insert '\\' in postgres database using java

2005-07-15 Thread Ropel
If, as the name of the column suggests, the backslash is used for pathnames, why don't you bypass the problem by using normal slash (I.E: "path/to/my/file")? It works well with new windows versions and, of course, unix-style pathnames Hope this helps, Roberto ketan shah wrote: Hi, All,

[GENERAL] how to insert '\\' in postgres database using java

2005-07-15 Thread ketan shah
Hi,   All,  My name is ketan, i have problem in postgres db insert..  Here is my problem.i have created table like..1)  Create table tab1(usr_id varchar(15), usr_name varchar(20),usr_filename_pattern varchar(1024));  insert table tab1 values('A','Mr. A','A\\d\\d\\d\\d'); Record is successfu