PQescapeLiteral in Libpq - Mailing list pgsql-novice

From lmanorders
Subject PQescapeLiteral in Libpq
Date
Msg-id 32BBB8AA746343F1946197FFF3BD3582@LynnPC
Whole thread Raw
Responses Re: PQescapeLiteral in Libpq
Re: PQescapeLiteral in Libpq
List pgsql-novice
I'm using the libpq.dll libraries to connect to postgress. When I issue a call to PQescapeLiteral with a file path as the argument, the result string seems to always start with a bogus " E". For example, "C:\MyFile" is returned as " E'C:\\:MyFile'" (not including the double quotes). Is this a normal result or can't PQescapeLiteral be used to escape a file path literal? If not, are there any functions that can be used to "escape" a file path?
 
Thanks, Lynn
 

pgsql-novice by date:

Previous
From: johnnorman
Date:
Subject: Re: How to Recover iPhone Contacts You Lost Somehow?
Next
From: Tom Lane
Date:
Subject: Re: PQescapeLiteral in Libpq