Re: Fixing invalid owners on pg_toast tables in 8.3.5

Поиск
Список
Период
Сортировка
От Cott Lang
Тема Re: Fixing invalid owners on pg_toast tables in 8.3.5
Дата
Msg-id 1235159325.3537.2.camel@duo.internetstaff.com
обсуждение исходный текст
Ответ на Re: Fixing invalid owners on pg_toast tables in 8.3.5  ("Joshua D. Drake" <jd@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fixing invalid owners on pg_toast tables in 8.3.5
Следующее
От: Sam Mason
Дата:
Сообщение: Re: where to divide application and database