Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxYLM-0001Er-Of for pgsql-jdbc@arkaria.postgresql.org; Thu, 28 Sep 2017 12:55:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dxYLM-0004Iu-BG for pgsql-jdbc@arkaria.postgresql.org; Thu, 28 Sep 2017 12:55:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dxYKr-0003PT-3I for pgsql-jdbc@postgresql.org; Thu, 28 Sep 2017 12:54:37 +0000 Received: from m71-131.mailgun.net ([166.78.71.131]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dxYKm-00015e-9z for pgsql-jdbc@postgresql.org; Thu, 28 Sep 2017 12:54:36 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1506603269; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=ZcwLdB3LWEJnhC4/DNpawcpXfY8WtRzDtt5iqSEJGuE=; b=u4OnPdZ1p0nF2JsMPzCgp9jVr+yK0drjExLlDv+qc4vUvjkUfgg9LrG/AC2ruRRTXx+VwRLc 7LT67XZ/3pSR/WkETGDBcTKKtrww5EpecaKJynlsWtIdG/Mpzn6Gbtaxf2bpGSXc8hBurU+h d9CgQaja2Lx4YfmWw8YLMmrE4AI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Sender: Date: From: Reply-To: To: Message-ID: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding; b=xlI6IifvrSCSuhoXCSuah17oryBDcYL4FQF/wfDBIptFYuInKFLMf5AW5BBvQaXTanN+0M eaBh9pNRRxqd+UeINxwSvsccdKgk+p7zumkAZFnYzFm7q5g3g28Tc0J2GvqPcqIcz7MWr43o +M3UveF74jGrfhVdH6sX+BHtOCjAM= X-Mailgun-Sending-Ip: 166.78.71.131 X-Mailgun-Sid: WyI3ZTA2ZSIsICJwZ3NxbC1qZGJjQHBvc3RncmVzcWwub3JnIiwgIjQwZiJd Received: from github.com (Unknown [192.30.252.34]) by mxa.mailgun.org with ESMTP id 59ccf0f2.7ff11cc0bc90-smtp-out-n03; Thu, 28 Sep 2017 12:54:10 -0000 (UTC) Date: Thu, 28 Sep 2017 05:54:10 -0700 From: Sehrope Sarkuni Reply-To: Sehrope Sarkuni To: pgsql-jdbc@postgresql.org Message-ID: <59ccf0f2291ab_5df23fd10858dc34676a0@hookshot-fe2-cp1-prd.iad.github.net.mail> Subject: [pgjdbc/pgjdbc] 097db5: feat: parse command complete message via regex (#9... Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 097db5e70ae8bf193c736b11603332feadb8d544 https://github.com/pgjdbc/pgjdbc/commit/097db5e70ae8bf193c736b11603332feadb8d544 Author: Sehrope Sarkuni 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