| From: | Anders Bogdan <anders(at)theworks(dot)org> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: How to change table owner? |
| Date: | 2002-12-09 16:00:27 |
| Message-ID: | 5579FC36-0B8F-11D7-BCC3-000393178BD6@theworks.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)theworks(dot)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.)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Erin Munro | 2002-12-09 16:05:18 | WAL disk space |
| Previous Message | Tom Lane | 2002-12-09 15:35:39 | Re: How to change table owner? |