http://initd.org/psycopg/docs/connection.html

protocol_version¶<http://initd.org/psycopg/docs/connection.html#connection.protocol_version>

A read-only integer representing frontend/backend protocol being used. 
Currently Psycopg supports only protocol 3, which allows connection to 
PostgreSQL server from version 7.4. Psycopg versions previous than 2.3 
support both protocols 2 and 3.

Il giorno giovedì 10 ottobre 2013 15:08:07 UTC+2, Rod Watkins ha scritto:
>
> My log shows the following error--I believe it may due to psycopg2.
>
> Traceback (most recent call last):
>   File "C:\projects\web2py\gluon\dal.py", line 7538, in __init__
>     self._adapter = ADAPTERS[self._dbname](**kwargs)
>   File "C:\projects\web2py\gluon\dal.py", line 2713, in __init__
>     if do_connect: self.reconnect()
>   File "C:\projects\web2py\gluon\dal.py", line 606, in reconnect
>     self.connection = f()
>   File "C:\projects\web2py\gluon\dal.py", line 2711, in connector
>     return self.driver.connect(msg,**driver_args)
>   File "C:\Python27\lib\site-packages\psycopg2\__init__.py", line 164, in 
> connect
>     conn = _connect(dsn, connection_factory=connection_factory, 
> async=async)
> InterfaceError: only protocol 3 supported
>
> What is protocol 3?
>
> TIA
>
> Rod
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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.

Reply via email to