Re: [SQL] SQL Things

Поиск
Список
Период
Сортировка
От De Moudt Walter
Тема Re: [SQL] SQL Things
Дата
Msg-id 3888F0B1.DA4D2E61@planetinternet.be
обсуждение исходный текст
Ответ на SQL Things  ("Neil Cameron" <n.cameron@blueice.co.uk>)
Список pgsql-sql
Neil,
You can grant/revoke rights users have with the grant or revoke command:

> GRANT select, insert, delete, update ON table_name TO user1, user2,..

> REVOKE create FROM user1
The first example grants the rights to view and update tables to user1
and user2, while the second example tells that user1 is not allowed to
create a table. How to change the default behaviour, i don't know at
first glance.
This is basic SQL.

Hope it helps,

De Moudt Walter

> Neil Cameron wrote:
> 
> Hi
> 
> Two questions.
> 
> 1. How can I change a database object's owner using SQL type commands
> ?
> 2. Users seem by default to be able to create tables. Is this correct.
> If so how can we remove this right.
> 
> Neil@blueice


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] DISTINCT and aggregates
Следующее
От: The Hermit Hacker
Дата:
Сообщение: More efficient DELETE ... ?