Re: Escape handling in strings - Mailing list pgsql-hackers

From AgentM
Subject Re: Escape handling in strings
Date
Msg-id 82FD5DB6-B98C-4552-8091-E39CFFE009BE@themactionfaction.com
Whole thread Raw
In response to Re: Escape handling in strings  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: Escape handling in strings
List pgsql-hackers
What I am really hoping for is that PQexecParams() [in later versions  
of libpq] can figure it out for itself so client code doesn't need  
fixing. That is the plan, right?

On Jun 20, 2005, at 11:57 PM, Oliver Jowett wrote:

> Bruce Momjian wrote:
>
>
>> I have received very few replies to my suggestion that we  
>> implement E''
>> for escaped strings, so eventually, after a few major releases, we  
>> can
>> have '' treat backslashes literally like the SQL standard requires.
>>
>
> Just checking: with this plan, a client needs to know what server
> version is in use to correctly escape strings, correct? That is, there
> is no escape mechanism that works correctly for both "old" and "new"
> servers?


|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-
AgentM
agentm@themactionfaction.com
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-



pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: GiST concurrency
Next
From: "Karl O. Pinc"
Date:
Subject: Re: [GENERAL] Escape handling in strings