#35685: Support for postgres connection pools and persistent connections
-------------------------------------+-------------------------------------
Reporter: Tharinda Seth | Owner: (none)
Wijesekera |
Type: New feature | Status: closed
Component: Database layer | Version: 5.1
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):
* cc: Florian Apolloner (added)
* component: Uncategorized => Database layer (models, ORM)
* resolution: => wontfix
* status: new => closed
* summary: Connection Pooling Not Working with psycopg3 in Django =>
Support for postgres connection pools and persistent connections
* type: Uncategorized => New feature
Comment:
I believe what you're asking for is to have the connection pools work with
persistent connections.
As this is not what it was designed to do, this is a new feature request
rather than a bug report. To have this accepted, you should first discuss
the request with the community. To do that, please consider starting a new
conversation on the [https://forum.djangoproject.com/c/internals/5 Django
Forum], where you'll reach a wider audience and likely get extra feedback.
It's a mixture of "is this wanted" and "is this feasible" that you will
need to discuss. I would also recommend sharing git diffs or raw code
rather than screenshots of code
If there is an agreement for the feature request and it's deemed to be
feasible, you are welcome to come back to the ticket and point to the
forum topic, so we can then re-open it. For more details, please see
[https://docs.djangoproject.com/en/stable/internals/contributing/bugs-and-
features/#requesting-features the documented guidelines for requesting
features].
This makes me think we could/should update the
[https://docs.djangoproject.com/en/5.1/ref/databases/#connection-pool docs
around connection pools] to have a bit more information as to what they do
[https://docs.djangoproject.com/en/5.1/ref/databases/#persistent-
connections similar to persistent connections] and that they cannot be
used alongside persistent connections.
--
Ticket URL: <https://code.djangoproject.com/ticket/35685#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070191698d7dd1-7d07fe84-d5b9-4935-8442-fde1cca3c412-000000%40eu-central-1.amazonses.com.