pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Patrik Kudo <kudo@partitur.se>
To: pgsql-sql@postgreSQL.org <pgsql-sql@postgreSQL.org>
Subject: Problem with large tuples.
Date: Fri, 21 Jan 2000 16:05:52 +0100
Message-ID: <388875D0.21942465@partitur.se> (raw)

I've noticed that some of my tables with large text tuples have
problem when these exceed some certain size. I know about the
8k tuplesize limit, but it seems the problem appears earlier
than that. This is what I've been able to recreate:

CREATE TABLE sizetest (id int, txt text);
INSERT INTO sizetest (id, txt) VALUES (1, '...'); // ... = string of
4000 chars
vacuum analyze; // <-- works nicely
INSERT INTO sizetest (id, txt) VALUES (2, '...'); // ... = string of
4100 chars
vacuum analyze;
ERROR:  Tuple is too big: size 8152, max size 8140

How come the insert works while the vacuum fails?

Setup: Postgres 6.5.2, FreeBSD 3.3

/Patrik Kudo



view thread (5+ messages)  latest in thread

Message-ID: <388875D0.21942465@partitur.se>
Permalink:  ../388875D0.21942465@partitur.se/
Also on:    postgresql.org/message-id/388875D0.21942465@partitur.se

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: kudo@partitur.se
  Subject: Re: Problem with large tuples.
  In-Reply-To: <388875D0.21942465@partitur.se>
  References: <388875D0.21942465@partitur.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox