Change Windows path to Unix path...

From: Patrick(dot)FICHE(at)AQSACOM(dot)COM
To: pgsql-general(at)postgresql(dot)org
Subject: Change Windows path to Unix path...
Date: 2005-04-26 15:29:59
Message-ID: 1DC6C8C88D09D51181A40002A5286929B22E04@intranet
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I'm trying to execute COPY command from some pgsql function.
The filename is given as an argument of the function.
But I get the filename like 'F:\tmp\file.txt' and I need to change this to
'F:/tmp/file.txt' before applying the COPY command.

I dind't succeed to replace '\' by '/' in the filename.
Could anybody help me.

Thanks
Patrick

----------------------------------------------------------------------------
---------------
Patrick Fiche
email : patrick(dot)fiche(at)aqsacom(dot)com
tél : 01 69 29 36 18
----------------------------------------------------------------------------
---------------


Browse pgsql-general by date

  From Date Subject
Next Message Shelby Cain 2005-04-26 15:52:05 Re: Change Windows path to Unix path...
Previous Message John DeSoi 2005-04-26 14:50:01 Re: Postgres source (tar file) for Fedora Core OS?