pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SQL Statement too long
2+ messages / 2 participants
[nested] [flat]

* SQL Statement too long
@ 2001-08-20 00:40 Jayson Callaway <jayson.callaway@iona.com>
  2001-08-20 16:34 ` Re: SQL Statement too long Josh Berkus <josh@agliodbs.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jayson Callaway @ 2001-08-20 00:40 UTC (permalink / raw)
  To: pgsql-sql

I am using Postgres 7.1.2 under linux with the JDBC drivers and Iam trying
to do an insert into a text field with about a 9K string of text. Does
anyone know why I would be getting an error back that says "The SQL
Statement is too long?

At first I though it was because I was creating the SQL statement as a
string used through the Statement class, so I tried using a
PreparedStatement, but I am still getting the same problem.

--
Jayson Callaway





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: SQL Statement too long
  2001-08-20 00:40 SQL Statement too long Jayson Callaway <jayson.callaway@iona.com>
@ 2001-08-20 16:34 ` Josh Berkus <josh@agliodbs.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Josh Berkus @ 2001-08-20 16:34 UTC (permalink / raw)
  To: Jayson Callaway <jayson.callaway@iona.com>; pgsql-sql

Jayson,

> I am using Postgres 7.1.2 under linux with the JDBC drivers and Iam
> trying
> to do an insert into a text field with about a 9K string of text.
> Does
> anyone know why I would be getting an error back that says "The SQL
> Statement is too long?

You need to post this question on the pgsql-jdbc list.  It is unlikely
that anyone on this list can help you, as this sounds like a JDBC
problem.

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-08-20 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-08-20 00:40 SQL Statement too long Jayson Callaway <jayson.callaway@iona.com>
2001-08-20 16:34 ` Josh Berkus <josh@agliodbs.com>

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