1
0
mirror of https://github.com/django/django.git synced 2025-01-03 15:06:09 +00:00

Fixed #35016 -- Doc'd that DATABASES["OPTIONS"] are passed to new PostgreSQL connections.

This commit is contained in:
Yashas 2023-12-07 02:06:54 +05:30 committed by Mariusz Felisiak
parent 705b1702bd
commit eeb2119985

View File

@ -160,8 +160,14 @@ password from the `password file`_, you must specify them in the
localhost:5432:NAME:USER:PASSWORD
The PostgreSQL backend passes the content of :setting:`OPTIONS` as keyword
arguments to the connection constructor, allowing for more advanced control
of driver behavior. All available `parameters`_ are described in detail in the
PostgreSQL documentation.
.. _connection service file: https://www.postgresql.org/docs/current/libpq-pgservice.html
.. _password file: https://www.postgresql.org/docs/current/libpq-pgpass.html
.. _parameters: https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS
.. warning::