Ок. I will post it here.

вторник, 17 июля 2012 г., 3:36:09 UTC+7 пользователь Derek написал:
>
> So escape it. In Python, % usually refers to a variable that follows the 
> string. If you want a literal percent sign, then you need to double it. %%.
> Seems like gluon is not escaping it properly. If you can post your whole 
> traceback, I could help you to find out what file you need to add the extra 
> escaping.
>
> On Monday, July 16, 2012 4:34:07 AM UTC-7, KMax wrote:
>>
>> Hello,
>>  Seems like an issue for me, pg8000 cant insert into db char '%'.
>>  As a result inserting string = 'We did it for 100%' throw an exception.
>>  
>> <class 'gluon.contrib.pg8000.errors.QueryParameterParseError'> '%'' not 
>> supported in quoted string
>>
>>  pg8000 checks for '%' in an argument, so...
>>
>> Thank you.
>> --
>> Maxim
>>
>

-- 



Reply via email to