Re: Set the permissions while creating database, schema, and tables

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Set the permissions while creating database, schema, and tables
Дата
Msg-id 20100215144901.GB2982@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Set the permissions while creating database, schema, and tables  (dipti shah <shahdipti1980@gmail.com>)
Список pgsql-general
dipti shah escribió:
> That's I know but I was wondering if there is anyway to do it while creating
> itself.

No.  You can wrap the CREATE and the GRANT/REVOKE into a transaction so
that the object doesn't appear to users until permissions have been
fixed.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Marcin Krol
Дата:
Сообщение: CLUSTER cannot complete
Следующее
От: Marcin Krol
Дата:
Сообщение: CLUSTER cannot complete