Mixing DictConnection and LoggingConnection

Поиск
Список
Период
Сортировка
От Alexey Luchko
Тема Mixing DictConnection and LoggingConnection
Дата
Msg-id 4FAA3D02.9070202@ank-sia.com
обсуждение исходный текст
Ответы Re: Mixing DictConnection and LoggingConnection  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
Hi!

I was thinking of a connection object fetching dicts and reporting slow
queries.  However, the way the connections classes are implemented make me
think its impossible to create MyCursor(DictCursor, LoggingCursor) because
they refer directly to parent class for calling inherited methods, like
_cursor.method(....).

Am I wrong?

--
Alex

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

Предыдущее
От: Federico Di Gregorio
Дата:
Сообщение: Re: psycopg2.extras DictCursor typos
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: Mixing DictConnection and LoggingConnection