#33308: Add psycopg3 backend
-------------------------------------+-------------------------------------
     Reporter:  Paolo Melchiorre     |                    Owner:  Florian
                                     |  Apolloner
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  database postgresql  |             Triage Stage:  Accepted
  backend orm                        |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"6a2165816394ab4bb259f6171e82417e098e97a6" 6a216581]:
 {{{
 #!CommitTicketReference repository=""
 revision="6a2165816394ab4bb259f6171e82417e098e97a6"
 Refs #33308 -- Modernized database wrapper in the PostgreSQL backend.

 - Used connection.info instead of connection.get_parameter_status() and
   connection.server_info which don't exist in psycopg 3.
 - Set encoding using the client_encoding connection parameter instead
   of connection.set_client_encoding() that doesn't exist in psycopg 3.
 - Used the dbname connection parameter instead of deprecated
   alias - database.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33308#comment:35>
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/01070184e745e5c7-17ecc67d-214f-4888-a9dc-23fc27a37ab8-000000%40eu-central-1.amazonses.com.

Reply via email to