﻿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
31463	Apply OPTIONS in database settings to dbshell.	Dulmandakh	nobody	"When I use django.db.backends.postgresql, and set OPTIONS like below, it would apply to psycopg2 connections, but not dbshell. Developers expect that DB connection configuration would apply in all cases.

{{{
DATABASES = {
    ""default"": {
        ""ENGINE"": ""django.db.backends.postgresql"",
        ""NAME"": ""db"",
        ""HOST"": ""127.0.0.1"",
        ""OPTIONS"": {""options"": ""-c default_text_search_config=simple""}
    }
}
}}}

Entering below command in dbshell would show pg_catalog.english instead of pg_catalog.simple.
{{{
SHOW default_text_search_config;
}}}


https://github.com/django/django/pull/12715
"	New feature	closed	Database layer (models, ORM)	3.0	Normal	duplicate			Unreviewed	1	0	0	0	0	0
