From: | Sehrope Sarkuni <sehrope(at)jackdb(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | [pgjdbc/pgjdbc] 097db5: feat: parse command complete message via regex (#9... |
Date: | 2017-09-28 12:54:10 |
Message-ID: | 59ccf0f2291ab_5df23fd10858dc34676a0@hookshot-fe2-cp1-prd.iad.github.net.mail |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)jackdb(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | eperez | 2017-10-01 00:24:42 | [pgjdbc/pgjdbc] 15aec6: Someone forgot to get the next column (#973) |
Previous Message | Philippe Marschall | 2017-09-26 06:44:30 | [pgjdbc/pgjdbc] fcb28c: feat: improve ResultSet#getObject(int, Class) (#93... |