#34200: Allow setting postgres role during connection setup
-------------------------------------+-------------------------------------
Reporter: Mike Crute | Owner: Mike
| Crute
Type: New feature | Status: new
Component: Database layer | Version: 4.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Florian Apolloner):
Ha, I didn't know of options either. To be honest I find it rather ugly,
but if it indeed fixes the problem let's add some docs about how to set
the role with it and accept the doc fix as a fix for the ticket? On a
related note; I am not sure how well `-c role=my_role` plays with
connection poolers, might be worth to investigate (but if that is broken,
setting the `search_path` like that is broken as well I guess)
--
Ticket URL: <https://code.djangoproject.com/ticket/34200#comment:9>
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/01070184e63ece2f-3ded76a0-c303-4ca0-a4e7-56392f2cddf0-000000%40eu-central-1.amazonses.com.