Maximum query string length

From: "Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za>
To: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Maximum query string length
Date: 1999-07-22 09:18:53
Message-ID: 1BF7C7482189D211B03F00805F8527F70ED075@S-NATH-EXCH2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Massimo wrote:
>> A better way would be to allocate and grow query buffers dynamically
while
>> reading the query but you will anyway have troubles with lex and yacc
which
>> use statically allocated buffers whose size is hardwired in the program.
>> This is why I had to make those ugly changes in the Makefiles.

Well, if the query length is limited by yacc, bison, lex, or any other tools
that we use, is it worthwhile trying to make it dynamic? If I can still
only get a 64k query into the backend, what use is there in creating a 800k
query in psql?

Thought and/or bright ideas or welcomed...

MikeA

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zakkr 1999-07-22 11:32:02 GRANT suggestion
Previous Message Oleg Broytmann 1999-07-22 08:35:45 README.locale patch 2