pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Serge Canizares <serge@ephilosopher.com>
To: Yves Martin <yma@elca.ch>
To: SQL <pgsql-sql@postgresql.org>
Subject: Re: Statement too long
Date: Fri, 24 Nov 2000 09:46:07 -0500
Message-ID: <3A1E7F2F.2D9E1E60@ephilosopher.com> (raw)
References: <3A0AD389.647EE03A@agliodbs.com>
	<200011150953.EAA01528@jupiter.jw.home>
	<20001117105859.A9780@lerami.lerctr.org>
	<00112316394802.00799@pcyma.elca.ch>

You probably have PostgreSQL compiled with the default blocksize, which is 8k.
OpenACS.org has a nice set of instructions explaining how to increase the size to
16k or 32k.

http://openacs.org/doc/openacs/html/simple-pg-install-2.html#ss2.2

Hope that helps.

Yves Martin wrote:

>         Hello,
>
>    I have some problem with too long statement.
>   In 'psql', the error returned for my insert statement is
> ERROR: Tuple is too big: size 10436
>
>   In fact, I use JDBC driver to insert a long long string into a 'text'
>   field. The exception is




view thread (2+ messages)

Message-ID: <3A1E7F2F.2D9E1E60@ephilosopher.com>
Permalink:  ../3A1E7F2F.2D9E1E60@ephilosopher.com/
Also on:    postgresql.org/message-id/3A1E7F2F.2D9E1E60@ephilosopher.com

 · 

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: serge@ephilosopher.com, yma@elca.ch
  Subject: Re: Statement too long
  In-Reply-To: <3A1E7F2F.2D9E1E60@ephilosopher.com>
  References: <3A0AD389.647EE03A@agliodbs.com> <200011150953.EAA01528@jupiter.jw.home> <20001117105859.A9780@lerami.lerctr.org> <00112316394802.00799@pcyma.elca.ch> <3A1E7F2F.2D9E1E60@ephilosopher.com>

* 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