Re: Fixing invalid owners on pg_toast tables in 8.3.5

From: Cott Lang <cott(at)internetstaff(dot)com>
To: jd(at)commandprompt(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Fixing invalid owners on pg_toast tables in 8.3.5
Date: 2009-02-20 19:48:45
Message-ID: 1235159325.3537.2.camel@duo.internetstaff.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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. :)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2009-02-20 20:38:25 Re: where to divide application and database
Previous Message Tom Lane 2009-02-20 19:32:21 Re: Fixing invalid owners on pg_toast tables in 8.3.5