Re: using schema's for data separation

Поиск
Список
Период
Сортировка
От Jorge Godoy
Тема Re: using schema's for data separation
Дата
Msg-id 87k63mbvpl.fsf@gmail.com
обсуждение исходный текст
Ответ на Re: using schema's for data separation  (Shane Ambler <pgsql@007Marketing.com>)
Список pgsql-general
Shane Ambler <pgsql@007Marketing.com> writes:

> Thinking about it - it should only be a small source change to the sql
> parser to stop it from running a statement that didn't include clientID in
> the where clause.
> A small change that is easy to add again to new versions as they are
> released.

I'd avoid modifying source code and go with either a function or view.  All
queries should be against those and they'd fail if the id is missing.  All
filtered tables should have an index on such id, of course...


--
Jorge Godoy      <jgodoy@gmail.com>

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

Предыдущее
От: km
Дата:
Сообщение: Re: benchmark suite
Следующее
От: "Just Someone"
Дата:
Сообщение: Re: using schema's for data separation