Skip to content

bluetech/psycopg-pool-backport

Repository files navigation

Psycopg2 connection pool - backport from Psycopg3

This package is an unofficial backport of psycopg3's connection pool to psycopg2. The changes are meant to be minimal. The full test suite and CI are also ported.

This package is useful for psycopg2 users who:

  • have a need for a production-grade connection pool on psycopg2, and
  • are unable to upgrade to psycopg3 as of yet

Backport changes:

  • Backported the code from psycopg to psycopg2.
  • Renamed PyPI package from psycopg-pool to psycopg-pool-backport.
  • Renamed Python package from psycopg_pool to psycopg2_pool.
  • Changed the logger name from psycopg.pool to psycopg2_pool.
  • Removed async support.
  • Removed typing-extensions dependency.

See the original psycopg-pool documentation for usage details. See the psycopg repo for the upstream code.

You can install this package using:

pip install psycopg-pool-backport

Copyright (C) 2020 The Psycopg Team

About

Backport of Psycopg3's connection pool to Psycopg2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages