Re: ERROR: row is too big: size 8176, maximum size 8160

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: row is too big: size 8176, maximum size 8160
Дата
Msg-id 29492.1267795795@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ERROR: row is too big: size 8176, maximum size 8160  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
Scott Marlowe <scott.marlowe@gmail.com> writes:
> On Fri, Mar 5, 2010 at 12:55 AM, Albe Laurenz <laurenz.albe@wien.gv.at> wrote:
>> Or maybe a large column has been modified by
>> ALTER TABLE ... ALTER COLUMN ... SET STORAGE PLAIN

> I thought even then if the backend can't fit it all in 8k it puts text
> out of line.

No, SET STORAGE PLAIN is an absolute override, if I recall the code
correctly.  That seems an unlikely explanation though.  What I'd bet on
is a very large number of non-toastable columns.  A thousand or so
float8's would do it for instance.  But this is all speculation without
seeing the table declaration.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Xpath Index in PostgreSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: need some advanced books on Postgres