Re: PQsendQuery: Query is too long

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Henrik Steffen <steffen(at)city-map(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PQsendQuery: Query is too long
Date: 2002-01-16 16:10:32
Message-ID: 9557.1011197432@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Henrik Steffen <steffen(at)city-map(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Henrik Steffen 2002-01-16 16:23:23 Re: PQsendQuery: Query is too long
Previous Message Doug McNaught 2002-01-16 16:06:16 Re: PQsendQuery: Query is too long