This project is archived and is in readonly mode.
connect doesn't support connection URIs
-
Daniele Varrazzo
- State changed from new to invalid
Psycopg doesn't parse the connection string: it is passed verbatim to the libpq.
In [3]: psycopg2.connect("postgresql://postgres@localhost:5432/test") Out[3]: <connection object at 0x178fbc0; dsn: 'postgresql://postgres@localhost:5432/test', closed: 0>you have an older libpq on your client, one that doesn't support the URI syntax yet.