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 1joB83-0007Rc-Oy for pgsql-jdbc@arkaria.postgresql.org; Wed, 24 Jun 2020 19:32:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1joB82-0006Re-MI for pgsql-jdbc@arkaria.postgresql.org; Wed, 24 Jun 2020 19:32:14 +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 1joB82-0006RX-Ey for pgsql-jdbc@lists.postgresql.org; Wed, 24 Jun 2020 19:32:14 +0000 Received: from out-18.smtp.github.com ([192.30.252.201]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1joB7z-0002YJ-V2 for pgsql-jdbc@lists.postgresql.org; Wed, 24 Jun 2020 19:32:13 +0000 Received: from github-lowworker-6b40fdd.va3-iad.github.net (github-lowworker-6b40fdd.va3-iad.github.net [10.48.16.64]) by smtp.github.com (Postfix) with ESMTP id CFD386E110C for ; Wed, 24 Jun 2020 12:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1593027130; bh=7yQCLlvXql4SS4RwCQrI4wyPlQOZlmWKaf0QSODiL4k=; h=Date:From:To:Subject:From; b=EswZ0SpaZaXx+CoxYJ9Jz4rIFEjIUQ8D3zcUVCqbEvbA17opc13R4szMaVY2COiXt od9MUqBHzIlo181zQ4LHXYL3E3vgRIfG7j90CuKa1Qchzm3yhMpNfpJ0MuY6GBWeHB MjuAPyQ2jxdu/lAhl8tNPLSzOlHL3mp96Gts2JkU= Date: Wed, 24 Jun 2020 12:32:10 -0700 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 7b49a6: fix: New PGStream constructor which copies setting... 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: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 7b49a694339e93acbcddeaa2ecb12bcfa85407ec https://github.com/pgjdbc/pgjdbc/commit/7b49a694339e93acbcddeaa2ecb12bcfa85407ec Author: Dave Cramer Date: 2020-06-24 (Wed, 24 Jun 2020) Changed paths: M pgjdbc/src/main/java/org/postgresql/core/PGStream.java M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ConnectionTest.java Log Message: ----------- fix: New PGStream constructor which copies settings from old pgstream (#1811) * fix: New PGStream constructor which copies settings from old pgstream * added test to make sure settings were copied to new PGStream * refactor some of the ctor code to remove duplicate code