Mixing DictConnection and LoggingConnection - Mailing list psycopg

From Alexey Luchko
Subject Mixing DictConnection and LoggingConnection
Date
Msg-id 4FAA3D02.9070202@ank-sia.com
Whole thread Raw
Responses Re: Mixing DictConnection and LoggingConnection  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List 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 by date:

Previous
From: Federico Di Gregorio
Date:
Subject: Re: psycopg2.extras DictCursor typos
Next
From: Daniele Varrazzo
Date:
Subject: Re: Mixing DictConnection and LoggingConnection