Обсуждение: pgsql/src/interfaces/jdbc/org/postgresql Drive ...

Поиск
Список
Период
Сортировка

pgsql/src/interfaces/jdbc/org/postgresql Drive ...

От
davec@postgresql.org (Dave Cramer)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    davec@postgresql.org    02/03/15 21:15:23

Modified files:
    src/interfaces/jdbc/org/postgresql: Driver.java.in
    src/interfaces/jdbc/org/postgresql/core: QueryExecutor.java

Log message:
    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