not sure what kind of key error youre getting back, but the issue  
probably relates either to the lack of a "schema" argument or  
improper permissions on one or both tables.

On Apr 16, 2007, at 5:24 PM, Koen Bok wrote:

>
> I wondered if it was possible to manage users inside postgres with the
> help of SQLAlchemy. But I guess Postgres users are special objects and
> not just rows in a table. I tried to do this, but it did not work.
>
> from sqlalchemy import *
>
> metadata = BoundMetaData('postgres://127.0.0.1/template1')
>
> pg_authid = Table('pg_authid', metadata, autoload=True)
> pg_auth_members = Table('pg_auth_members', metadata, autoload=True)
>
> For some reason, I get a key error back. Would this be possible at
> all?
>
> Koen
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to