On Sat, 2006-08-05 at 02:13 -0400, Leif Jackson wrote: > We could make the query string dynamicly size it self with a realloc or > somthing to that effect, then the question just would be would that open > up a DDoS of some sort... But just for the utils and such that might come > accross a query larger than the default it might solve and issue such as > this one?
We saw a few queries in the past that could be truncated and just tuned down the inputs to those queries. That's the easiest way to handle single situations, but we should think about a better solution for the future. The query interface based around prepared statements that's been discussed on the list before would be the right place to put a bit more intelligence about query length. I tossed a note on the wiki about it. Anyways, I set the number in db.c down to 80 in SVN to close the bug. Aaron
