From: Sehrope Sarkuni <sehrope@jackdb.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] 097db5: feat: parse command complete message via regex (#9...
Date: Thu, 28 Sep 2017 05:54:10 -0700
Message-ID: <59ccf0f2291ab_5df23fd10858dc34676a0@hookshot-fe2-cp1-prd.iad.github.net.mail> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: sehrope@jackdb.com
Subject: Re: [pgjdbc/pgjdbc] 097db5: feat: parse command complete message via regex (#9...
In-Reply-To: <59ccf0f2291ab_5df23fd10858dc34676a0@hookshot-fe2-cp1-prd.iad.github.net.mail>
References: <59ccf0f2291ab_5df23fd10858dc34676a0@hookshot-fe2-cp1-prd.iad.github.net.mail>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox