pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Neil Cameron <n.cameron@blueice.co.uk>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] SQL Things
Date: Sun, 23 Jan 2000 02:29:10 +0100 (CET)
Message-ID: <Pine.LNX.4.21.0001221739010.3007-100000@localhost.localdomain> (raw)
In-Reply-To: <002e01bf6476$0ce647c0$03c6c6c6@leckhampton>

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





view thread (3+ messages)

Message-ID: <Pine.LNX.4.21.0001221739010.3007-100000@localhost.localdomain>
Permalink:  ../Pine.LNX.4.21.0001221739010.3007-100000@localhost.localdomain/
Also on:    postgresql.org/message-id/Pine.LNX.4.21.0001221739010.3007-100000@localhost.localdomain

 · 

reply

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: peter_e@gmx.net, n.cameron@blueice.co.uk
  Subject: Re: [SQL] SQL Things
  In-Reply-To: <Pine.LNX.4.21.0001221739010.3007-100000@localhost.localdomain>
  References: <002e01bf6476$0ce647c0$03c6c6c6@leckhampton> <Pine.LNX.4.21.0001221739010.3007-100000@localhost.localdomain>

* 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