From eeb2119985d9879b1d9ac3730ea0b53c0c019221 Mon Sep 17 00:00:00 2001 From: Yashas <2yashas2@gmail.com> Date: Thu, 7 Dec 2023 02:06:54 +0530 Subject: [PATCH] Fixed #35016 -- Doc'd that DATABASES["OPTIONS"] are passed to new PostgreSQL connections. --- docs/ref/databases.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 8c5f877dfc3f..5a31ceeaaead 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -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::