Change Windows path to Unix path... - Mailing list pgsql-general

From Patrick.FICHE@AQSACOM.COM
Subject Change Windows path to Unix path...
Date
Msg-id 1DC6C8C88D09D51181A40002A5286929B22E04@intranet
Whole thread Raw
List 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.fiche@aqsacom.com
tél : 01 69 29 36 18
-------------------------------------------------------------------------------------------

 

pgsql-general by date:

Previous
From: John DeSoi
Date:
Subject: Re: Postgres source (tar file) for Fedora Core OS?
Next
From: Shelby Cain
Date:
Subject: Re: Change Windows path to Unix path...