Re: ERROR: row is too big: size 9856, maximum size 8136

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: row is too big: size 9856, maximum size 8136
Дата
Msg-id 8972.1106253487@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ERROR: row is too big: size 9856, maximum size 8136  ("Joel Fradkin" <jfradkin@wazagua.com>)
Ответы Re: ERROR: row is too big: size 9856, maximum size 8136  ("Joel Fradkin" <jfradkin@wazagua.com>)
Список pgsql-sql
"Joel Fradkin" <jfradkin@wazagua.com> writes:
> Sorry, that was the statement that caused the error.

Hmm.  The error is associated with trying to store an oversized row.
And CREATE VIEW doesn't store any rows ... except into system catalogs.
So the only theory I can think of is that the pg_rewrite row for the
view is exceeding 8K.  Which can't happen, because no matter how
complicated the view definition rule is, the tuple toaster should have
sprung into action and pushed the rule text out-of-line.

Could we see the results of

select * from pg_class where relname = 'pg_rewrite';

select attname,atttypid::regtype,attstorage from pg_attribute where attrelid = 'pg_rewrite'::regclass and attnum > 0;

7.4 should certainly be configured to have a toast table for pg_rewrite,
but maybe something went wrong during initdb on your installation.
        regards, tom lane


В списке pgsql-sql по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: ERROR: row is too big: size 9856, maximum size 8136
Следующее
От: "Joel Fradkin"
Дата:
Сообщение: Re: ERROR: row is too big: size 9856, maximum size 8136