Skip to content

Lazy postgresql.exceptions #85

Open
@jwp

Description

@jwp

The number of classes in postgresql.exceptions adds measurable overhead to the startup time of processes importing postgresql. Constructing the exception classes upon use would eliminate this initial overhead and memory footprint (CPython types being relatively large).

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