You are correct.  I needed to fixup the migration issue when switching 
between psycopg2 and pg8000.  It works fine.  Just did a fake=True and back 
to False and all was good.

-- Joe

On Friday, August 9, 2013 12:38:47 AM UTC-7, Massimo Di Pierro wrote:
>
> I am pretty sure it works with 2.7. 
>
> On Friday, 9 August 2013 01:45:06 UTC-5, Joe Barnhart wrote:
>>
>> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to