Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDxhW-00018y-7b for pgsql-jdbc@arkaria.postgresql.org; Sun, 12 Nov 2017 19:13:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDxhV-0007Ik-Q7 for pgsql-jdbc@arkaria.postgresql.org; Sun, 12 Nov 2017 19:13:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eDxhV-0007II-0M for pgsql-jdbc@postgresql.org; Sun, 12 Nov 2017 19:13:49 +0000 Received: from m69-169.mailgun.net ([166.78.69.169]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eDxhR-0008EU-8Z for pgsql-jdbc@postgresql.org; Sun, 12 Nov 2017 19:13:47 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1510514023; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=eR+FC80pn7o+rNrPOdPYzeqiQ6RPOOWa14f7OoCDpqc=; b=qn6aFbqDK9xjqS2G3tD5voVFNOQxtU+htovOc56OGHDBWVaepoOO+k1Fv6TAWtVPIdl6W5Y5 O5vvIO5OuVmIqGETUqiwbqmivi4bicXnOGwwRuCSA8EUhodFXPKgTWsKJcp+sNhZLDgG7HcM Zm/8ogAGCpaTQl2z+exEr76PgxU= X-Mailgun-Sending-Ip: 166.78.69.169 X-Mailgun-Sid: WyI3ZTA2ZSIsICJwZ3NxbC1qZGJjQHBvc3RncmVzcWwub3JnIiwgIjQwZiJd Received: from github.com (Unknown [192.30.252.42]) by mxa.mailgun.org with ESMTP id 5a089d66.7f54801d8990-smtp-out-n02; Sun, 12 Nov 2017 19:13:42 -0000 (UTC) Date: Sun, 12 Nov 2017 11:13:41 -0800 From: Michael Glaesemann Reply-To: Michael Glaesemann To: pgsql-jdbc@postgresql.org Message-ID: <5a089d653f9df_151f3fbf4f3d7c345241@hookshot-fe1-cp1-prd.iad.github.net.mail> Subject: [pgjdbc/pgjdbc] 634e15: refactor: use TypeInfo getPGArrayType instead of m... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 634e157e4cdbc2f78f1a90ac4d9f538f39caf4f9 https://github.com/pgjdbc/pgjdbc/commit/634e157e4cdbc2f78f1a90ac4d9f538f39caf4f9 Author: Michael Glaesemann Date: 2017-11-12 (Sun, 12 Nov 2017) Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java A ubenchmark/src/main/java/org/postgresql/benchmark/statement/BindArray.java Log Message: ----------- refactor: use TypeInfo getPGArrayType instead of munging type name (#913) The purpose of the getPGArrayType method is to get the array type for a given element type. Let the TypeInfo implementation figure out how to do that rather than appending "[]" to the element type name in PgPreparedStatement setArray. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc