The query buffer is 8192 bytes long, and queries over that length will be silently truncated.
The PGlobj class is largely untested. Use with caution.