ISQLQuote vs. str subclass

Поиск
Список
Период
Сортировка
От Jonathan Rogers
Тема ISQLQuote vs. str subclass
Дата
Msg-id 55BB8CE1.8000301@socialserve.com
обсуждение исходный текст
Ответы Re: ISQLQuote vs. str subclass  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
I have a custom subclass of str called LiteralValue, the purpose of
which is to represent a string which should be passed to Postgres
unmodified. Its getquoted() method simply returns itself. This type
worked as intended with psycopg2 up to version 2.2.x. However, versions
of psycopg2 2.3 and newer no longer call getquoted() on objects of type
LiteralValue. Is this an expected change in behavior?
--
Jonathan Ross Rogers


В списке psycopg по дате отправления:

Предыдущее
От: "Vamsi Krishna Reddy -T (vamsredd - TATA CONSULTANCY SERVICES LIMITED at Cisco)"
Дата:
Сообщение: Re: How to lock a table for update and make other connections to wait on it
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: ISQLQuote vs. str subclass