Re: Changing owner of pg_toast tables - Mailing list pgsql-general

From Mark Styles
Subject Re: Changing owner of pg_toast tables
Date
Msg-id 20090129160204.GG13763@lambic.co.uk
Whole thread Raw
In response to Re: Changing owner of pg_toast tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Changing owner of pg_toast tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Thu, Jan 29, 2009 at 10:46:08AM -0500, Tom Lane wrote:
> Mark Styles <postgres@lambic.co.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


Attachment

pgsql-general by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: Text search segmentation fault
Next
From: Tom Lane
Date:
Subject: Re: Text search segmentation fault