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