From: Yves Martin <yma@elca.ch>
To: sqllist <pgsql-sql@postgresql.org>
Subject: Statement too long
Date: Thu, 23 Nov 2000 16:34:33 +0100
Message-ID: <00112316394802.00799@pcyma.elca.ch> (raw)
In-Reply-To: <20001117105859.A9780@lerami.lerctr.org>
References: <3A0AD389.647EE03A@agliodbs.com>
<200011150953.EAA01528@jupiter.jw.home>
<20001117105859.A9780@lerami.lerctr.org>
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
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: yma@elca.ch
Subject: Re: Statement too long
In-Reply-To: <00112316394802.00799@pcyma.elca.ch>
References: <3A0AD389.647EE03A@agliodbs.com> <200011150953.EAA01528@jupiter.jw.home> <20001117105859.A9780@lerami.lerctr.org> <00112316394802.00799@pcyma.elca.ch>
* 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