Example Re: SELECT across multiple db

Поиск
Список
Период
Сортировка
От Nabil Sayegh
Тема Example Re: SELECT across multiple db
Дата
Msg-id 1053880478.1120.4.camel@billy
обсуждение исходный текст
Список pgsql-novice
I send this to the list, because the mail to chris@wild.net just returned.

---

I attached an example with privileges.

It has 3 schema (in this case, all have the same structure, but these
could be of different structure, too):

schema db1 - user db1
schema db2 - user db2
schema db3 - user db3
noschema   - user dbx

dbx is allowed to select from schema db1/table nav1 and db2/table nav1
but is not allowed to select from schema db3

At the end of the example there are 2 simple tests.

HIH
--
 e-Trolley Sayegh & John, Nabil Sayegh
 Tel.: 0700 etrolley /// 0700 38765539
 Fax.: +49 69 8299381-8
 PGP : www.e-trolley.de


Вложения

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

Предыдущее
От: Nabil Sayegh
Дата:
Сообщение: Example Re: SELECT across multiple db
Следующее
От: nolan@celery.tssi.com
Дата:
Сообщение: Re: psql without password