Re: schemas for organizing tables

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: schemas for organizing tables
Дата
Msg-id 3A6D9DD5-1DC9-490D-8E4C-191519B82A08@solfertje.student.utwente.nl
обсуждение исходный текст
Ответ на Re: schemas for organizing tables  (Seb <spluque@gmail.com>)
Список pgsql-general
On 29 Apr 2011, at 5:03, Seb wrote:

> So typically we have two types of uses: research and
> preparation/logistics for the project.  We wouldn't want to even see the
> logistcs tables for research work, whereas we would like to see only
> these ones for preparation/planning.  As the project and number of
> tables grow, we could see a similar divergence within the group of
> tables related to research.  Are these good reasons for separating these
> units into schemas?


I suppose the two different schema's are interesting to similarly different users of the database as well? If so, you
couldalso create two different types of users with schema search_paths defaulting to their respective schema. 
That way logistics-type users don't get confused by research tables and researchers don't get confused by logistics
tables.You could even restrict access to the schema the user isn't supposed to access. 

Alban Hertroys

--
Screwing up is an excellent way to attach something to the ceiling.


!DSPAM:737,4dba5f4212121823650944!



В списке pgsql-general по дате отправления:

Предыдущее
От: Darren Duncan
Дата:
Сообщение: Re: schemas for organizing tables
Следующее
От: "Wappler, Robert"
Дата:
Сообщение: Re: How to realize ROW_NUMBER() in 8.3?