OK. I looked at the source and found I can add a parameter to the URL: 'postgres:pg8000://web2py:web2py@localhost/mydatabase'
But the bad news is --- pg8000 doesn't support Python 2.7! (Or so the docs say.) It stopped development awhile ago, apparently. Oh well. -- Joe On Thursday, August 8, 2013 9:15:24 PM UTC-7, Joe Barnhart wrote: > > This is probably so simple everyone already knows it... but... > > Now that I have psycopg2 installed, my web2py instance always chooses it > when opening a postgres database. How can I tell it to use the pg8000 > driver? I'd still like to compare the two, and feed back hints to the > pg8000 project if I discover anything interesting. Ultimately I think the > community will be well-served by a pure Python driver because PyPy will > work one day and we'll all want pure Python for everything at that time. > > -- Joe > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

