Re: PostgreSQL Schemas.

2006-04-16 Thread Ed Epstein
Alex Li wrote: > I know that MS SQLServer and Oracle both have schema support (I think > it is part of SQL92 standard); probably other "traditional" RDBMSes > would have support too; don't know about MySQL and Sqlite... > > HTH, > Alex MS SQL has schema support? I just looked at the online techne

Re: PostgreSQL Schemas.

2006-04-15 Thread Ed Epstein
Don Arbow wrote: > I also didn't like the names that Django gave to my tables. But of > course you can name them anything you'd like using the db_table field > of the META inner class. A little more effort, but this comes in > handy when using legacy databases. Yes, that is an option, but it does

Re: PostgreSQL Schemas.

2006-04-14 Thread Ed Epstein
Adrian Holovaty wrote: > That's the big question -- should the schema be specified in the > settings file or in the model? (Well, I've never used schemas, so > maybe it's not as big of a question as I'm making it out to be. Maybe > it doesn't make sense to put the schema in the model?) Well here

Re: PostgreSQL Schemas.

2006-04-14 Thread Ed Epstein
Well I managed to get introspectdb working with schemas, but I don't know if it's the right solution. What I'm doing right now is modifying the schema search path. If you think it's a good idea, I'd probably suggest looking at adding a per project per app setting that specifies a schema. It would

PostgreSQL Schemas.

2006-04-14 Thread Ed Epstein
Hi. I searched the archives and could find no real mention of this, so I thought I'd post. Can I specify specific Postgres schemas (e.g. database.schema.table) in Django? Can I specify specific schemas when using the inspectdb feature? I'll poke around in the code and see if I can figure out whe