Re: PQsendQuery: Query is too long - Mailing list pgsql-general

From Tom Lane
Subject Re: PQsendQuery: Query is too long
Date
Msg-id 9557.1011197432@sss.pgh.pa.us
Whole thread Raw
In response to PQsendQuery: Query is too long  (Henrik Steffen <steffen@city-map.de>)
List pgsql-general
Henrik Steffen <steffen@city-map.de> writes:
> when doing larger queries, e.g. an insert of lots of text,
> I always get "Query too long" if the query is longer then 8192 bytes.

> a) What exactly is the reason for this limitation?

Too old postgres.  There is no such limit in 7.0 or later.

            regards, tom lane

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: PQsendQuery: Query is too long
Next
From: Henrik Steffen
Date:
Subject: Re: PQsendQuery: Query is too long