FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use PQconnectdbParams instead of PQsetdbLogin · Issue #26 · PyGreSQL/PyGreSQL · GitHub

Use PQconnectdbParams instead of PQsetdbLogin #26

Description

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.

(copied from Trac ticket 79, created 2019-04-24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL