Re: text field size

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Hector Diaz <hector_diazc(at)yahoo(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: text field size
Date: 2001-02-27 15:33:51
Message-ID: 200102271534.f1RFXqw09684@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Elphick(at)lfix(dot)co(dot)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

Browse pgsql-novice by date

  From Date Subject
Next Message ghaverla 2001-02-27 15:46:57 Re: text field size
Previous Message Hector Diaz 2001-02-26 23:00:35 text field size