From: De Moudt Walter <wdemoudt@planetinternet.be>
To: Neil Cameron <n.cameron@blueice.co.uk>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] SQL Things
Date: Sat, 22 Jan 2000 00:50:09 +0100
Message-ID: <3888F0B1.DA4D2E61@planetinternet.be> (raw)
References: <002e01bf6476$0ce647c0$03c6c6c6@leckhampton>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: wdemoudt@planetinternet.be, n.cameron@blueice.co.uk
Subject: Re: [SQL] SQL Things
In-Reply-To: <3888F0B1.DA4D2E61@planetinternet.be>
References: <002e01bf6476$0ce647c0$03c6c6c6@leckhampton> <3888F0B1.DA4D2E61@planetinternet.be>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox