The query buffer is 8192 bytes long, and queries over that length will be rejected.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.