Django 4.2 introduces a new feature for psycopg 3.1.8 and later versions, supporting server_side_binding. Handling the Boolean type specifically is necessary, as Django evaluates the condition using options.get("server_side_binding") is True. Therefore, the query parameters should be formatted as follows: postgres://USER:PASSWORD@HOST:PORT/NAME?server_side_binding=true.
Django 4.2 introduces a new feature for psycopg 3.1.8 and later versions, supporting server_side_binding. Handling the Boolean type specifically is necessary, as Django evaluates the condition using
options.get("server_side_binding") is True
. Therefore, the query parameters should be formatted as follows:postgres://USER:PASSWORD@HOST:PORT/NAME?server_side_binding=true.