Re: How to change the table owner?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
Cc: "pgsql-admin(at)postgreSQL(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How to change the table owner?
Date: 2001-04-30 18:39:40
Message-ID: 200104301839.f3UIdeB26091@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message G. Anthony Reina 2001-04-30 18:44:19 Re: How to change the table owner?
Previous Message Bruce Momjian 2001-04-30 18:33:52 Re: How to change the table owner?