Caveats

The query buffer is 8192 bytes long, and queries over that length will be silently truncated.