Noah Kantrowitz wrote:
> Perhaps allow "db=...?schema=trac,public" as the conn string? In fact  
> given the patch you gave, that might already work. I could also the  
> argument for automatically appending public, but maybe its not common  
> enough to be needed.

Well, public is in there by default.  The schema support in trac 
inavertantly blows it away.  I was thinking more along the lines of 
checking what the schema was already, prepending the trac schema, and 
then setting the search_path.  The biggest issue with this is that it 
would require another db hit before the schema is set (which is pretty 
much any time a cursor is created).  While I haven't tested out your 
suggestion of explicitly specifying the search_path in the schema arg, 
it should work, unless the query args parser munges commas (which I 
don't think it does).

I'll see if I can find a little time to create a patch for the "prepend" 
method.

-John

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

Reply via email to