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 1mkoO0-0007TD-VC for pgsql-jdbc@arkaria.postgresql.org; Wed, 10 Nov 2021 14:15:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mkoNz-0007RF-R4 for pgsql-jdbc@arkaria.postgresql.org; Wed, 10 Nov 2021 14:15:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkoNz-0007R5-J3 for pgsql-jdbc@lists.postgresql.org; Wed, 10 Nov 2021 14:15:35 +0000 Received: from out-22.smtp.github.com ([192.30.252.205] helo=smtp.github.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkoNv-0004im-UD for pgsql-jdbc@lists.postgresql.org; Wed, 10 Nov 2021 14:15:35 +0000 Received: from github.com (hubbernetes-node-9d98440.ac4-iad.github.net [10.52.208.81]) by smtp.github.com (Postfix) with ESMTPA id 1B9E6560DDB for ; Wed, 10 Nov 2021 06:15:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1636553730; bh=MhTN3pecvrrdjSgpIuwWUomVM2UF4ACdQ0hvfoI3V+0=; h=Date:From:To:Subject:From; b=Ywi4+hDeEXYm5Mk7VLMb+xED906ukR3EtmrywKB2v7T5z9/di2P2cpT9auxGE4YV1 iUEj+wFij0/XApFyEz4vzsI1P2aEmytx6EXB8Jo5HlmVlHaxMD5fR5IAXdH7lHhpzK GzpI5+luITwjtKiSY3xdueMTOUwp+hwvSI5rf4Pc= Date: Wed, 10 Nov 2021 06:15:30 -0800 From: Sergey Prytkov To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 801810: perf: read in_hot_standby GUC on connection (#2334) 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: 801810a6955c80ec3050581e72cee9d2e2c3d992 https://github.com/pgjdbc/pgjdbc/commit/801810a6955c80ec3050581e72cee9d2e2c3d992 Author: Sergey Prytkov Date: 2021-11-10 (Wed, 10 Nov 2021) Changed paths: M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java M pgjdbc/src/test/java/org/postgresql/test/hostchooser/MultiHostsConnectionTest.java Log Message: ----------- perf: read in_hot_standby GUC on connection (#2334) * perf: read in_hot_standby GUC on connection * use static const for in_hot_standby