Skip site navigation (1) Skip section navigation (2)

Re: [SQL] SQL Things

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Neil Cameron <n(dot)cameron(at)blueice(dot)co(dot)uk>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] SQL Things
Date: 2000-01-23 01:29:10
Message-ID: Pine.LNX.4.21.0001221739010.3007-100000@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: 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(at)gmx(dot)net                   75262 Uppsala            Sweden

In response to

  • SQL Things at 2000-01-22 01:14:27 from Neil Cameron

pgsql-sql by date

Next:From: Christopher SawtellDate: 2000-01-23 07:21:45
Subject: Re: [SQL] how many inserts in one transaction?
Previous:From: The Hermit HackerDate: 2000-01-22 23:18:03
Subject: Re: [SQL] More efficient DELETE ... ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group