diff options
| author | Yashas <2yashas2@gmail.com> | 2023-12-07 02:06:54 +0530 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-12-08 09:38:54 +0100 |
| commit | 6c992dc0031f9f3134aa50d1bc00b1eee581ae13 (patch) | |
| tree | 5ef97908a0b8bfa639d59823c30c9ce4ff2c3fa5 | |
| parent | 415a08a5283a0f76408ec23c6f6af4a0002d7651 (diff) | |
[5.0.x] Fixed #35016 -- Doc'd that DATABASES["OPTIONS"] are passed to new PostgreSQL connections.
Backport of eeb2119985d9879b1d9ac3730ea0b53c0c019221 from main
| -rw-r--r-- | docs/ref/databases.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index f859f51377..92b1f40898 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -164,8 +164,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:: |
