Re: tuple too big error

From: "Richard Huxton" <dev(at)archonet(dot)com>
To: <schmid(at)ice(dot)mpg(dot)de>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: tuple too big error
Date: 2001-04-04 07:11:10
Message-ID: 00b101c0bcd6$6e95ace0$1001a8c0@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From: "Karl Schmid" <schmid(at)ice(dot)mpg(dot)de>

> Hi all,
>
> when I try to insert a long string (100 kByte) into a 'text' field using
the
> following command:

> ERROR: Tuple is too big: size 104228, max size 8140
>
> If I understand the docs correctly, there is no length restriction in text
> fields and the above instruction should work.
>
> Did I overlook something? Is it necessary to import such a long string as
a
> large object?
>
> I am using PostgreSQL 7.0.3 under SuSE Linux 7.1.

Afraid you have overlooked something - the 8k row limit applies to text
fields too. You'll either need to use 7.1 (at release candidate stage) where
this limit no longer applies, or large-objects.

- Richard Huxton

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Einar Karttunen 2001-04-04 07:11:21 Re: Is this a bug in 7.0.2?
Previous Message lec 2001-04-04 07:04:59 Can timeout duration be set?