Re: postgresql query string length limit - Mailing list pgsql-hackers

From Douglas McNaught
Subject Re: postgresql query string length limit
Date
Msg-id 87pslj3vj1.fsf@suzuka.mcnaught.org
Whole thread Raw
In response to postgresql query string length limit  (uwcssa <uwcssa@gmail.com>)
Responses Re: postgresql query string length limit
List pgsql-hackers
uwcssa <uwcssa@gmail.com> writes:

>  I found any query exceeds 4096 charactors will be pruned automatically. i am
> wondering which knob should i change to make it larger , say, 10000
> charactors.  i searched for a while but was not able to find it online.  so if
> anyone has a quick nswer that will be highly appreciated.

Either you're using a very very old version of PostgreSQL, or a very
crappy client library--there hasn't been a query length limitation in
the server or in libpq for a long time (I think when there was one it
was 8K by default).

-Doug


pgsql-hackers by date:

Previous
From: uwcssa
Date:
Subject: postgresql query string length limit
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Domains and supporting functions