Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pMu2w-0003Hj-8O for pgsql-jdbc@arkaria.postgresql.org; Tue, 31 Jan 2023 17:03:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pMu2v-0000ln-0a for pgsql-jdbc@arkaria.postgresql.org; Tue, 31 Jan 2023 17:03:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pMu2u-0000kV-Mc for pgsql-jdbc@lists.postgresql.org; Tue, 31 Jan 2023 17:03:48 +0000 Received: from out-21.smtp.github.com ([192.30.252.204] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pMu2o-0000B1-1d for pgsql-jdbc@lists.postgresql.org; Tue, 31 Jan 2023 17:03:47 +0000 Received: from github.com (hubbernetes-node-36785ed.ac4-iad.github.net [10.52.221.59]) by smtp.github.com (Postfix) with ESMTPA id A8D91521A33 for ; Tue, 31 Jan 2023 09:03:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1675184620; bh=byzLp6DXYtxRDdpSv8KI64OxQQqj++iJQVBXwpe4QE0=; h=Date:From:To:Subject:From; b=F7EPBKCpkabZMernaGB1mLRibozmkkuA7FmiCmWN7Uub0DJPuWwPBcIZXFAbsXY7t bsrMa58sEAvAEvQNkJ7ZFLWUg8BWtYJO1sYVvSOIigSks+aN51EkQS4Zk96j1x6Zk1 Rjm0+2Ddq9adNeovZbA9KS0ZPmyY9/FWPEcmoWN4= Date: Tue, 31 Jan 2023 09:03:40 -0800 From: Sebastian Baumhekel To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] cb78d0: feat: Define binary transfer for custom types dyna... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: cb78d0e85148f4fb19ef665343c4f4cfaabf9c26 https://github.com/pgjdbc/pgjdbc/commit/cb78d0e85148f4fb19ef665343c4f4cfaabf9c26 Author: Sebastian Baumhekel Date: 2023-01-31 (Tue, 31 Jan 2023) Changed paths: M .editorconfig M pgjdbc/src/main/java/org/postgresql/core/QueryExecutor.java M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java A pgjdbc/src/test/java/org/postgresql/test/core/QueryExecutorTest.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BaseTest4.java A pgjdbc/src/test/java/org/postgresql/test/jdbc2/CustomTypeWithBinaryTransferTest.java Log Message: ----------- feat: Define binary transfer for custom types dynamically/automatically (Issue #2554) (#2556) The driver would automatically register types for binary transfer when calling con.unwrap(PGConnection.class).addDataType(String, Class) Fixes https://github.com/pgjdbc/pgjdbc/issues/2554