Statement too long

From: Yves Martin <yma(at)elca(dot)ch>
To: sqllist <pgsql-sql(at)postgresql(dot)org>
Subject: Statement too long
Date: 2000-11-23 15:34:33
Message-ID: 00112316394802.00799@pcyma.elca.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql


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

The SQL Statement is too long - INSERT INTO TRIGGERQUEUE (DUETIME,
TYPE, EVENT, ACTION) VALUES( 974992122555, 'CONTAINER',
.....(long really long).......

So is it possible to re-build postmaster to avoid this limitation for
too long statement or is there another way in JDBC ?

Another problem is that with jdbc 6.5 and 7.0 the example of using largeobject
in postgreSQL development corner site does not work. It returns an exception:
setBinaryStream does not support an input as an InputStream.
So how to make this exemple work ?

Regards

--
Yves Martin
yma, Lausanne

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2000-11-23 15:41:57 Re: Trouble With Strings
Previous Message Tom Lane 2000-11-23 15:23:24 Re: trouble migrating from 6.3.2 (IRIX) to 7.0.2 (Linux)

Browse pgsql-sql by date

  From Date Subject
Next Message Bruno Boettcher 2000-11-23 15:39:53 is there a debian package for plperl?
Previous Message sathya priya 2000-11-23 14:31:00 PQendcopy: resetting connection error