Re: 7.2.3: tuple is too big (max 8136) - Mailing list pgsql-general

From Doug McNaught
Subject Re: 7.2.3: tuple is too big (max 8136)
Date
Msg-id m37kfx9z5t.fsf@varsoon.wireboard.com
Whole thread Raw
In response to 7.2.3: tuple is too big (max 8136)  (pilsl@goldfisch.at)
Responses Re: 7.2.3: tuple is too big (max 8136)  (pilsl@goldfisch.at)
List pgsql-general
pilsl@goldfisch.at writes:

> I got this error on older versions and was told to
> upgrade. Unfortunately I run into the very same error with 7.2.3.
>
> I have a table with 1600 cols (for testing) and insert one row into
> it which results in this error:

It's possible you are hitting the maximum column limit rather than the
tuple size limit.  The FAQ list the max columns in a table as:

"250-1600 depending on column types"

So try a tuple of the same size but fewer columns and see if that's
the issue.

> I searched my whole systems for old libraries from a previous version
> but I'm quite sure that my upgrade was quite a clean and successful
> one...

I'm sure you're right but it's always good to double-check.  ;)

-Doug

pgsql-general by date:

Previous
From: pilsl@goldfisch.at
Date:
Subject: 7.2.3: tuple is too big (max 8136)
Next
From: "Paul Ottar Tornes"
Date:
Subject: limit 0,10 within SELECT ..... FROM ......