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

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Ropel <ropel(at)ropel(dot)it>
Cc: ketan shah <ketan_dba(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: how to insert '\\' in postgres database using java
Date: 2005-07-15 21:25:49
Message-ID: 20050715212549.GB25864@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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....

This has worked since DOS 2.0. Just not on the command line because the
slash is the option indicator. But the C library and the OS always
accepted forward slashes...

--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Fein 2005-07-15 22:21:23 Re: Return SETOF or array from pl/python
Previous Message Martijn van Oosterhout 2005-07-15 21:21:59 Re: Function returning any (tuple) type