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

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: ERROR: row is too big: size 8176, maximum size 8160
Дата
Msg-id 20100304171255.GA14386@tux
обсуждение исходный текст
Ответ на ERROR: row is too big: size 8176, maximum size 8160  (DimitryASuplatov <genesup@gmail.com>)
Ответы Re: ERROR: row is too big: size 8176, maximum size 8160  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список pgsql-general
DimitryASuplatov <genesup@gmail.com> wrote:

> Hello,
>
> I am using postgresql-8.3.7 and have recently got this error:
>
> org.postgresql.util.PSQLException: ERROR: row is too big: size 8168,
> maximum size 8160

Please show us your table definition.

Wild guess: you have many, many columns, non-text (INT or something
else), and such a row is bigger than 8 KByte, PG can't use TOAST.

I think, you should re-design your table, read about normalisation.


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

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

Предыдущее
От: DimitryASuplatov
Дата:
Сообщение: ERROR: row is too big: size 8176, maximum size 8160
Следующее
От: Terry
Дата:
Сообщение: join from multiple tables