﻿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
1051	Add support to set search_path in PostgreSQL	Mao Xizeng <mao.xizeng@…>	nobody	"Sometimes PostgreSQL schemas feature is very helpful to developers: we can use this feature to maintain multiple versions of databases, or integrate external PostgreSQL databases by cross-schema view without making database organization confusing. So  it seems necessary to add PostgreSQL schemas support to django:)

I implemented this feature over only four lines.  First, one additional field, ""DATABASE_SCHEMAS"" in django setting, is used to control PostgreSQL schemas setting, default is blank; second, when initializaing database cursor, three hook codes will double check DATABASE_ENGINE and  DATABASE_SCHEMAS, if DATABASE_SCHEMAS is not blank and DATABASE_ENGINE is postgresql, django will set postgresql to appropriate schemas search order. 

For PostgreSQL schemas detail, please refer to this url: http://www.postgresql.org/docs/8.0/static/ddl-schemas.html"	enhancement	closed	Database layer (models, ORM)	dev	normal	duplicate	PostgreSQL Schemas	landonf@… RahmCoff@… david@… sam@… hector@… dvanliere@…	Design decision needed	1	0	1	0	0	0
