Re: Re: Too much data received?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Steve Wampler <swampler(at)noao(dot)edu>
Cc: Barry Lind <barry(at)xythos(dot)com>, postgres-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Re: Too much data received?
Date: 2001-07-10 22:03:34
Message-ID: Pine.LNX.4.30.0107110000250.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-interfaces pgsql-jdbc

Steve Wampler writes:

> I think I originally saw the problem when an INSERT that included a
> *very* long text field entry generated an exception (I had dropped a
> function used as a trigger on inserts)) - the message that
> comes back from the back end includes (as near as I can remember)
> the original insert text, generating the above.

That would explain it perfectly.

> The exception above went away when I bumped the size of receive_sbuf
> to something larger than 8096 [this was with jdbc7.1-1.2.jar] and
> changed the calls to use the new size where they had been using 8096
> before. I bumped it to 262144, incidently - these were large text
> fields. This enabled me to find the other error and fix it.

Well, the longest piece of data you can store in a column is around 1GB,
so we obviously need to find a more flexible solution.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thalis A. Kalfigopoulos 2001-07-10 22:22:02 Re: Stored Procedure Newbie
Previous Message Tom Lane 2001-07-10 21:33:59 Re: index skipped in favor of seq scan.

Browse pgsql-interfaces by date

  From Date Subject
Next Message Roberto Mello 2001-07-10 23:56:49 Re: Re: [INTERFACES] distinguishing different database connections
Previous Message markMLl.pgsql-interfaces 2001-07-10 20:55:46 Re: Getting info on "Max LongVarChar" under ODBC

Browse pgsql-jdbc by date

  From Date Subject
Next Message Neil Conway 2001-07-10 23:17:05 Re: 2 gig file size limit
Previous Message Bruce Momjian 2001-07-10 21:21:01 Re: JDBC Support - prepared Statements?