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

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

From
Sehrope Sarkuni
Date:
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