﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35016	Missing documentation for setting libpq options with the PostgreSQL backend	Roman Donchenko	Yashas Donthi	"As far as I can see, when a database uses the `django.db.backends.postgresql` engine, any options from the `OPTIONS` key that are not recognized by the engine itself are passed directly to the underlying libpq library. This way you can set options like [https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-SSLMODE `sslmode`].

But this doesn't seem to actually be documented anywhere, so it's unclear whether this is actually a supported feature or just an implementation artifact.

If this really is supported, then it should be documented - presumably in [https://docs.djangoproject.com/en/5.0/ref/databases/#postgresql-notes PostgreSQL notes].

PR #17586 to fix this: https://github.com/django/django/pull/17586"	Cleanup/optimization	closed	Documentation	5.0	Normal	fixed			Ready for checkin	1	0	0	0	0	0
