From: Bruce Momjian <pgman@candle.pha.pa.us>
To: G. Anthony Reina <reina@nsi.edu>
Cc: pgsql-admin@postgreSQL.org <pgsql-admin@postgresql.org>
Subject: Re: How to change the table owner?
Date: Mon, 30 Apr 2001 14:39:40 -0400 (EDT)
Message-ID: <200104301839.f3UIdeB26091@candle.pha.pa.us> (raw)
In-Reply-To: <3AEDB283.9D84F9E5@nsi.edu>
> Bruce Momjian wrote:
>
> > ALTER TABLE ... OWNER in 7.1.
> >
> > > I must be missing this somewhere in the documentation. How can I change
> > > the owner of a table?
> > >
> > > Thanks.
> > > -Tony
>
> Sorry. I should have specified that I still using 7.0.3. Do I have to go into
> pg_table or something?
Yes, pg_class.relowner.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
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-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, reina@nsi.edu
Subject: Re: How to change the table owner?
In-Reply-To: <200104301839.f3UIdeB26091@candle.pha.pa.us>
References: <3AEDB283.9D84F9E5@nsi.edu> <200104301839.f3UIdeB26091@candle.pha.pa.us>
* 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