On Thu, Jul 31, 2008 at 09:16:24PM +0000, Matthew Wilson wrote:
> Is there some way to write a specific converterjust for postgresql, and
> then allow other databases to use the original?

   Look into sqlobject/postgres/pgconnection.py; in the very end you find
PsycoBinaryConverter; see how it's registered.

> Can I use the db parameter to find out what database I'm using?

   Yes, that could be another approach. The 'db' parameter is a string
there, 'postgres', e.g.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to