Skip site navigation (1) Skip section navigation (2)

Mixing DictConnection and LoggingConnection

From: Alexey Luchko <luch(at)ank-sia(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: Mixing DictConnection and LoggingConnection
Date: 2012-05-09 09:46:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: psycopg

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 

Am I wrong?



psycopg by date

Next:From: Daniele VarrazzoDate: 2012-05-09 10:22:47
Subject: Re: Mixing DictConnection and LoggingConnection
Previous:From: Federico Di GregorioDate: 2012-05-08 15:08:34
Subject: Re: psycopg2.extras DictCursor typos

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group