Re: Fixing invalid owners on pg_toast tables in 8.3.5 - Mailing list pgsql-general

From Cott Lang
Subject Re: Fixing invalid owners on pg_toast tables in 8.3.5
Date
Msg-id 1235159325.3537.2.camel@duo.internetstaff.com
Whole thread Raw
In response to Re: Fixing invalid owners on pg_toast tables in 8.3.5  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-general
On Fri, 2009-02-20 at 11:25 -0800, Joshua D. Drake wrote:
> >
>
> You can use alter type to change the owner of the type to a valid user
> but see above. Something is wrong.

That's what I thought too, but we tried that first with these results:

# alter type pg_toast.pg_toast_80075 OWNER TO postgres;
ERROR: pg_toast.pg_toast_80075 is a table's row type
HINT: Use ALTER TABLE instead.

# alter table pg_toast.pg_toast_80075 OWNER TO postgres;
ERROR: "pg_toast_80075" is not a table, view, or sequence

... that's when I decided this was post-worthy. :)






pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fixing invalid owners on pg_toast tables in 8.3.5
Next
From: Sam Mason
Date:
Subject: Re: where to divide application and database