#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
-------------------------------------+-------------------------------------
Changes (by Florian Apolloner):

 * status:  closed => new
 * resolution:  needsinfo =>
 * stage:  Unreviewed => Accepted


Comment:

 I think this makes sense and is hard to achieve otherwise short of
 overriding the backend. I am wondering if explicitly supporting role makes
 sense though. Would a more generic approach like `init_command` in mysql
 help? Then again we never had the need for this in postgresql so I rather
 explicitly support `role` (or `assume_role` maybe) -- this way we can
 easily shuffle it around in the backend code if needed.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34200#comment:7>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070184e6375381-00c80881-5ca5-480a-8103-f876888d4dca-000000%40eu-central-1.amazonses.com.

Reply via email to