Re: [SQL] SQL Things

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [SQL] SQL Things
Дата
Msg-id Pine.LNX.4.21.0001221739010.3007-100000@localhost.localdomain
обсуждение исходный текст
Ответ на SQL Things  ("Neil Cameron" <n.cameron@blueice.co.uk>)
Список pgsql-sql
On 2000-01-21, Neil Cameron mentioned:

> 1. How can I change a database object's owner using SQL type commands ?

With update. For example:

UPDATE pg_class SET relowner = <userid> WHERE relname = 'my_table';

> 2. Users seem by default to be able to create tables. Is this correct.
> If so how can we remove this right.

Yes and you can't.

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [SQL] More efficient DELETE ... ?
Следующее
От: Christopher Sawtell
Дата:
Сообщение: Re: [SQL] how many inserts in one transaction?