Re: How to change table owner? - Mailing list pgsql-admin

From Anders Bogdan
Subject Re: How to change table owner?
Date
Msg-id 5579FC36-0B8F-11D7-BCC3-000393178BD6@theworks.org
Whole thread Raw
In response to Re: How to change table owner?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Thankyou! That worked, much easier than dumping the db..
thanks
Anders

On Monday, December 9, 2002, at 09:35  AM, Tom Lane wrote:

> Anders Bogdan <anders@theworks.org> writes:
>> I've created and deployed a number of databases and am now getting
>> around to adding some table maintenance (a vacuum script). But, the
>> script can't run as the "postgres" user. It runs as a defined db user
>> "admin".. Unfortunately, in my db schema the tables are owned by
>> postgres and my script doesn't have permission to vacuum.
>
> Make "admin" a postgres superuser.  (I think "ALTER USER admin
> CREATEUSER"
> is the approved way to do this.)


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to change table owner?
Next
From: Erin Munro
Date:
Subject: WAL disk space