[JDBC] [pgjdbc/pgjdbc] 097db5: feat: parse command complete message viaregex (#9...

Поиск
Список
Период
Сортировка
От Sehrope Sarkuni
Тема [JDBC] [pgjdbc/pgjdbc] 097db5: feat: parse command complete message viaregex (#9...
Дата
Msg-id 59ccf0f2291ab_5df23fd10858dc34676a0@hookshot-fe2-cp1-prd.iad.github.net.mail
обсуждение исходный текст
Список pgsql-jdbc
Branch: refs/heads/master Home:   https://github.com/pgjdbc/pgjdbc Commit: 097db5e70ae8bf193c736b11603332feadb8d544
 https://github.com/pgjdbc/pgjdbc/commit/097db5e70ae8bf193c736b11603332feadb8d544 Author: Sehrope Sarkuni
<sehrope@jackdb.com>Date:   2017-09-28 (Thu, 28 Sep 2017)
 
 Changed paths:   M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java   M
pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java
 Log Message: ----------- feat: parse command complete message via regex (#962)

Replaces command status whitelist based parsing with a regex approach to
handle generic COMMAND OID COUNT or COMMAND COUNT responses. If the
response does not match the regex then parsing is skipped. This should allow
for automatically supporting new server responses of that same form as well as
skipping any that cannot be parsed.

Fixes #958



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Philippe Marschall
Дата:
Сообщение: [JDBC] [pgjdbc/pgjdbc] fcb28c: feat: improve ResultSet#getObject(int, Class)(#93...
Следующее
От: eperez
Дата:
Сообщение: [JDBC] [pgjdbc/pgjdbc] 15aec6: Someone forgot to get the next column (#973)