Filter:

Commits on July 15, 2001

Commits2 commits
0Author
2Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterUpdate TODO list.
1e3eacc6
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 15, 2001
CommitterThe attached patch fixes problems with the JDBC driver handling long null terminated strings. The FE/BE protocol sends in some cases null terminated strings to the client. The docs for the FE/BE protocol state that there is no limit on the size of a null terminated string sent to the client and a client should be coded using an expanding buffer to deal with large strings. The old code did not do this and gave an error if a null terminated string was greater than either 4 or 8K. It appears that with the advent of TOAST very long SQL statements are becoming more common, and apparently some error messages from the backend include the SQL statement thus easily exceeding the 8K limit in the old code.
b08e86d5
master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more
No linked threadJul 15, 2001