Skip to content

PostgresqlSession is incomplete, broken, and too specific #748

@ghost

Description

Originally reported by: Robert Brewer (Bitbucket: fumanchu, GitHub: fumanchu)


The current !PostgresqlSession class:

  1. Is incomplete without a get_db function. At the least, it should try to import pypgsql and psycopg.
  2. Is broken, since it doesn't even INSERT new rows.
  3. Is too specific. It should be transformed into a generic DBAPISession class (which would make it incomplete again, but why limit ourselves to a single provider for such a simple need?).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions