#79: Use PQconnectdbParams instead of PQsetdbLogin
-------------------------+-----------------
Reporter: cito | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 6.0
Component: DB API 2 | Version: 5.0
Keywords: |
-------------------------+-----------------
Currently, connections in the classic and DB API 2 modules are made with
`PQsetdbLogin` which only allows a limited number of parameters.
Additional parameters must be sent as connection string or connection URI,
but they cannot be passed as parameters (the DB API 2 module fakes that by
creating a connection string from keyword arguments).
We may want to switch to the newer `PQconnectdbParams` to properly send
any number of parameters.
When doing so, we should take care that everything is properly documented,
backward compatible, and particularly the default values are set properly
and the same as before.
--
Ticket URL: <http://trac.pygresql.org:8000/pgtracker/ticket/79>
PyGreSQL <http://www.pygresql.org/>
PyGreSQL Tracker
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo/pygresql