that also works.  Thanks mike.

On Jun 20, 3:13 pm, Michael Bayer <[EMAIL PROTECTED]> wrote:
> On Jun 20, 2008, at 5:06 PM, percious wrote:
>
>
>
> > like this?
>
> >    from sqlalchemy import MetaData, create_engine
> >    metadata = MetaData()
> >    engine = create_engine('postgres://[EMAIL PROTECTED]/Target')
> >    connect = engine.connect()
> >    connect.execute("setsearch_pathto 'my_db'")
> >    metadata.reflect(bind=connect)
>
> > (does not work)
>
> that would be it.   butsearch_pathshouldnt affect anything SQLA does  
> regarding reflection.  don't you just want to send "schema='my_db'" to  
> metadata.reflect() ?
--~--~---------~--~----~------------~-------~--~----~
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