]> granicus.if.org Git - postgresql/commit
fixed QueryExecuter to deal with multiple errors
authorDave Cramer <davec@fastcrypt.com>
Sat, 16 Mar 2002 02:15:23 +0000 (02:15 +0000)
committerDave Cramer <davec@fastcrypt.com>
Sat, 16 Mar 2002 02:15:23 +0000 (02:15 +0000)
commit134fe5ec61cb280459a4782b6d465e115c5ac5a8
tree1059f66a82e015c51797fd3df6e3cd5dc19a1097
parentefd45bc68f3d371c5cdd701b6399026d5c18e20e
fixed QueryExecuter to deal with multiple errors
previously it was throwing a SQLException as soon as the error message was
received from the backend. This did not allow the protocol to finish properly
now, simply collects error messages from the backend until the query is done
and throws exception at the end
Also added setLogLevel to Driver.java, and made the log levels public
src/interfaces/jdbc/org/postgresql/Driver.java.in
src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java