Re: [exim-dev] Quoting of percent and underscore pgsql_quote…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-dev
Asunto: Re: [exim-dev] Quoting of percent and underscore pgsql_quote()
On 09/27/2012 05:49 PM, Phil Pennock wrote:
>>> So, src/lookups/pgsql.c in function pgsql_quote(), around line 463, you
>>> should find:
>>>
>>>     else if (Ustrchr("\n\t\r\b\"\\%_", c) != NULL)

>>>
>>> If you remove the % and _ from that string, does that fix the problem
>>> for you?
>>>
>>> By my reading of the code, that's all that's required.
>>
>> How will exim know that postgres is set up with standards-conforming-strings?
>> Will we need to provide an alternate quoter? A mode-switch?
>
> My understanding was that %_ were harmless in previous versions


OK, if that's so.
--
Jeremy