[JDBC] [pgjdbc/pgjdbc] 097db5: feat: parse command complete message viaregex (#9... - Mailing list pgsql-jdbc

From Sehrope Sarkuni
Subject [JDBC] [pgjdbc/pgjdbc] 097db5: feat: parse command complete message viaregex (#9...
Date
Msg-id 59ccf0f2291ab_5df23fd10858dc34676a0@hookshot-fe2-cp1-prd.iad.github.net.mail
Whole thread Raw
List 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 by date:

Previous
From: Philippe Marschall
Date:
Subject: [JDBC] [pgjdbc/pgjdbc] fcb28c: feat: improve ResultSet#getObject(int, Class)(#93...
Next
From: eperez
Date:
Subject: [JDBC] [pgjdbc/pgjdbc] 15aec6: Someone forgot to get the next column (#973)