Re: Changing owner of pg_toast tables

From: Mark Styles <postgres(at)lambic(dot)co(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Changing owner of pg_toast tables
Date: 2009-01-29 16:02:04
Message-ID: 20090129160204.GG13763@lambic.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 29, 2009 at 10:46:08AM -0500, Tom Lane wrote:
> Mark Styles <postgres(at)lambic(dot)co(dot)uk> writes:
> > I'm trying to drop a role that is no longer being used. However the role
> > has 4 dependencies which are all pg_toast tables. How can I change the
> > owner of those pg_toast tables so I can drop the role?
>
> I guess the interesting question to me is what happened to the tables
> those toast tables are/were attached to? They should have the same
> owners as their parent tables.

They did have the same owner, I changed the owner to postgres so I could
drop the role, but the corresponding pg_toast tables did not change.

> What PG version is this exactly?

8.1.11

--
Mark
http://www.lambic.co.uk

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2009-01-29 16:04:11 Re: Text search segmentation fault
Previous Message Tom Lane 2009-01-29 16:01:19 Re: Text search segmentation fault