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 1lnYgw-0005Zr-2C for pgsql-hackers@arkaria.postgresql.org; Mon, 31 May 2021 03:34: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 1lnYgu-0002ai-B3 for pgsql-hackers@arkaria.postgresql.org; Mon, 31 May 2021 03:34:12 +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 1lnYgt-0002aa-0R for pgsql-hackers@lists.postgresql.org; Mon, 31 May 2021 03:34:12 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnYgm-0007Tv-Ay for pgsql-hackers@postgresql.org; Mon, 31 May 2021 03:34:10 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id AF6805C0045; Sun, 30 May 2021 23:34:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 30 May 2021 23:34:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=mTJ+HF3rLJ+rzGeNEKxZfckyXmT kebF9IAo6WbfaNCk=; b=1VT5SjpjfxvP71WQ0rb/sBQIYf0awKVIBckli+oPTep rAdufq91Tr1IUmpBV5iughNwOlCjRPsMqDdtJd2ui2Z0dCheXrL9Zl6fgEDAWdy2 x76ImjnS4TAeNkcV4LIyk6gaxv+D2HmfXmIUt0JC2wlgXwUuSN0L+BGvBH+vJM7e ZGDJvvpv1Y3QfY1X9qY7aky87/9wczoCAgseN7oqcW/4sSdc8CgVvTct5Uoz7Nxk cB422NcYEy7Gk497YehBMSVHOowznC+hbQfns9U97wy/NHtMXp1wJ7RRb3ucBDgx wptNHyK44sFn439BhJpSILUguR9RnVrXdiTN6IPn1yA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=mTJ+HF 3rLJ+rzGeNEKxZfckyXmTkebF9IAo6WbfaNCk=; b=GGjKQSIbNj5hAUOt0H2/FZ DLHu856VGDbwvQCmYhfMM1yODr1fTZVFST5QaEvncblVBHoZwWQraiTxtM0yvJYp zxhHbMernr79I05RPAyytFD80uUpdkZ3eNxWA0GbpVHJ4OKCPzHz3fnObDWsuzwN 6Xm0MQ/47VeBzNsdjj8b+DzUTz1keNkP0zGebOp2BR400Hjz+qvHOkLfwK+g84Cb g1RPf1TIERZ83dqHXWEh50ewLM8Bk7N0tH1rj8sDcFdkc1i4GGSXfgBTjW9NUQ4o MiRbNajzv6R12LyqitKbowpdc0dsVY8BzcGQyLqt2Xe9QE9hLg2I9ZRLx2ITS/og == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdelvddgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeffudeffeelgffhkedukeekvedv udfgieetkeekudelfeevhffhffdtudffieeutdenucffohhmrghinhepphhoshhtghhrvg hsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 30 May 2021 23:33:59 -0400 (EDT) Date: Mon, 31 May 2021 12:33:51 +0900 From: Michael Paquier To: Justin Pryzby Cc: Tom Lane , 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 Message-ID: References: <229507.1610056206@sss.pgh.pa.us> <770711.1610318330@sss.pgh.pa.us> <20210506162651.GJ27406@telsasoft.com> <4170264.1620321747@sss.pgh.pa.us> <20210531012500.GP2082@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2Le2LocKj4wHJvVr" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --2Le2LocKj4wHJvVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2021 at 11:00:55AM +0900, Michael Paquier wrote: > Yeah. On the contrary, it could be confusing if one sees an error > message but there is nothing to worry about, because things are > working in the scope of what the user wanted at connection time. In my recent quest to look at GSSAPI builds on Windows, I have bumped into another failure that's related to this thread. hamerkop summarizes the situation here: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dhamerkop&dt=3D202= 1-05-29%2010%3A15%3A42 There are two failures like this one as errorMessage piles up on failures, as of connect/test5: -[NO_PID]: ECPGconnect: connection to server failed: FATAL: database "regress_ecpg_user2" does not exist +[NO_PID]: ECPGconnect: connection to server failed: could not initiate GSSAPI security context: Unspecified GSS failure. Minor code may provide more information: Credential cache is empty +connection to server failed: FATAL: database "regress_ecpg_user2" does not exist=20 -- Michael --2Le2LocKj4wHJvVr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmC0WR8ACgkQnvQgOdby QH2uYw//Wi2xY2Be7aQhIJtIBMmfSdnNb3HoqXPM/hiUU7rDJXfGIpNM3PmgffOb 023t32xfuNmSPD36JUYrYxB8CqDDCam7FYJ3M4udOBa4ZUivpdAWCp/g1Xo/uoeI cJ7g0/lWe5mZeHBkVIZ9CVWOf/DH05BqW2pG0F7vzg4yP/kTBWLUeG2f5yZEszwh WqH9tpeS/UrW4O8MZNxOy0touTF0y5sUqyX4sIsXGs2L8UMRMIgSexRnIeEWfkL8 wVuj7pqKs9plpTU2WjZvO7KiB3/vlCdNw9J6mFNBt7oXvy308ddp2weVafn5cd4b MRTes5oAJawQvUyRHZIw0mxv41P3ygVA0JJT0JSEsjjGKOvu4TkdyPomAVAzb+Xz K7gliLajhwKnL0e507O048SiEXMALaMfU7VWiV7omDjmmyv4LuM0G/cQc6UsryKx KVBrW8DelYck8hbR/Zdnz6lXi0RAr7PVT46v2TJ4cykUeAW2hnxdIG2l+sypAwVp gpj3TLVk3JTrHv4g67PyrbiqTS/ZJ+hzs/aV8OXoc1Q+5XXJueWLAVyegcXgxiEr PbR/bJCf7BNOt0X5MTFJh2n0vgLi3GepMm6ZNazXFm9uQUDV+s+R3P+tjLYwDoqB xTgGXpcg6aw1ZWVjITI4XYLBcXU62Rc3KL9IlVt3enrVvhG2s1w= =BR5v -----END PGP SIGNATURE----- --2Le2LocKj4wHJvVr--