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 1lqGOV-0002P1-C4 for pgsql-hackers@arkaria.postgresql.org; Mon, 07 Jun 2021 14:38:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqGOS-00053Q-E9 for pgsql-hackers@arkaria.postgresql.org; Mon, 07 Jun 2021 14:38:20 +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 1lqGOS-00053I-69 for pgsql-hackers@lists.postgresql.org; Mon, 07 Jun 2021 14:38:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqGOM-0000sb-2v for pgsql-hackers@postgresql.org; Mon, 07 Jun 2021 14:38:19 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 157Ec32u869607; Mon, 7 Jun 2021 10:38:03 -0400 From: Tom Lane To: Michael Paquier cc: Justin Pryzby , Hubert Zhang , tsunakawa.takay@fujitsu.com, pgsql-hackers@postgresql.org, Andreas Seltenreich , Bruce Momjian Subject: Re: Multiple hosts in connection string failed to failover in non-hot standby mode In-reply-to: References: <20210531012500.GP2082@telsasoft.com> <2522602.1622433912@sss.pgh.pa.us> <2566986.1622468180@sss.pgh.pa.us> <2732890.1622509658@sss.pgh.pa.us> <744012.1623014869@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Mon, 07 Jun 2021 15:43:42 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <869605.1623076683.1@sss.pgh.pa.us> Date: Mon, 07 Jun 2021 10:38:03 -0400 Message-ID: <869606.1623076683@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > On Sun, Jun 06, 2021 at 05:27:49PM -0400, Tom Lane wrote: >> So I took >> a look at disabling GSSENC in these test cases to try to silence >> hamerkop's test failure that way. Here's a proposed patch. >> It relies on setenv() being available, but I think that's fine >> because we link the ECPG test programs with libpgport. > No, that's not it. The compilation of the tests happens when > triggering the tests as of ecpgcheck() in vcregress.pl so I think that > this is going to fail. This requires at least the addition of a > reference to libpgport in ecpg_regression.proj, perhaps more. Hmm. We do include "-lpgcommon -lpgport" when building the ecpg test programs on Unix, so I'd assumed that the MSVC scripts did the same. Is there a good reason not to make them do so? regards, tom lane