Re: text field size - Mailing list pgsql-novice

From Oliver Elphick
Subject Re: text field size
Date
Msg-id 200102271534.f1RFXqw09684@linda.lfix.co.uk
Whole thread Raw
In response to text field size  (Hector Diaz <hector_diazc@yahoo.com>)
List pgsql-novice
=?iso-8859-1?q?Hector=20Diaz?= wrote:
  >1) Hi I am a novice in pgsql and I am trying to
  >introduce a long text to one record... supposly text
  >field size are unlimited but when I tried to insert
  >the record the follow message appears :
  >
  >ERROR: Tuple is too big:size 10000, max size 8140
  >
  >How I can fix this problem or what do you suggest to
  >me?

Before PostgreSQL 7.1, there is a row size limit of about 8Kb.

Upgrade to 7.1beta5, or use large objects, or rethink your application, or
rebuild PostgreSQL with a larger row-limit and do an initdb to force
the change into the database.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "If we confess our sins, he is faithful and just to
      forgive us our sins, and to cleanse us from all
      unrighteousness."       I John 1:9



pgsql-novice by date:

Previous
From: "Poul L. Christiansen"
Date:
Subject: Re: text field size
Next
From: Heath Johns
Date:
Subject: Permissions