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 1mSwqg-0005CP-Jn for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Sep 2021 07:39:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mSwqf-0008WP-Av for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Sep 2021 07:39:21 +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 1mSwqf-0008WH-33 for pgsql-hackers@lists.postgresql.org; Wed, 22 Sep 2021 07:39:21 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSwqc-0006lc-Oa for pgsql-hackers@postgresql.org; Wed, 22 Sep 2021 07:39:20 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 090B95C0105; Wed, 22 Sep 2021 03:39:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 22 Sep 2021 03:39:17 -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=fm2; bh=rTI7p4NHdK0bu+7Re/CjuIPqpgF ckG/UMl7KGvpwWlw=; b=oDQXGcJ87OTllf+F0JMRJhI9HXJVW9WJIBcuhE1c3hn oPZObtn7Bq0teyaGfgtVOg5pe3ramChSj/6hHCygBY/ltD4MuyDxBfzRGb6oR5eM D4fUi/7EB6PhZD0z62muTgYFBM11Qt6B+gNE0SSNlRhxRq5oawdeX5SgH97dsDK4 OMIi7RdyNmfukqcuHTmRxJfGBd3jmwvtlx+GtkFS4reOidteu36E7jco7eErOg/q VH/2oLN3g0cE7GPW90WaH4mss2kUTPcvGS2rP5oE0TNi8NoylymcGI4sCdIA2pp/ SHDPVwNurSOQ9mDoo/+zHXOjTek8Ci5DfHlN9KcJJXw== 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=fm3; bh=rTI7p4 NHdK0bu+7Re/CjuIPqpgFckG/UMl7KGvpwWlw=; b=RL3BE2JGZE1GkYZeLUZiEX kKFidAhAOyRgLqZ9uLN5t08Ukq8pQdA8YuaX3BQ1xqwedh+4V+y1Ep+xr9He1/Vw WDS/xlAyofcDWT5nUpB0CbBmlZ3waiAgTj52EZj0IpUne9LQR+TmChvl/nuzMeYp w5Izzq9sSg5n0wY5zDzbPgv8W+K5+PcANYhCgy34cVVf40zFT6DTKmgstONK9LhA DugxV9VGNf4iWFGgSLVbJQt+7nXWsJvb7sDonFJXWSxhKncG98RTdq2yDb6B9wXu baZhz6jKMU9PBwflWvotDuHNttOhmdce/KD3YP61Ujom5H7pG8tRAJUs+1d4IYHQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeiiedgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveej heehieevueeigeelteegleejleeiueeiheegvefhnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Sep 2021 03:39:15 -0400 (EDT) Date: Wed, 22 Sep 2021 16:39:10 +0900 From: Michael Paquier To: Peter Eisentraut Cc: Jacob Champion , "pgsql-hackers@postgresql.org" Subject: Re: Proposal: Save user's original authenticated identity for logging Message-ID: References: <4a87886f034c713c056c43850f55e6e0ba50d8b5.camel@vmware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IBeMkoxnW/8HB5nC" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --IBeMkoxnW/8HB5nC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 22, 2021 at 08:59:38AM +0200, Peter Eisentraut wrote: > I noticed this patch eliminated one $Test::Builder::Level assignment. Was > there a reason for this? >=20 > I think we should add it back, and also add a few missing ones in similar > places. See attached patch. > > [...] > > { > + local $Test::Builder::Level =3D $Test::Builder::Level + 1; > + So you are referring to this one removed in c50624c. In what does this addition change things compared to what has been added in connect_ok() and connect_fails()? I am pretty sure that I have removed this one because this logic got refactored in PostgresNode.pm. -- Michael --IBeMkoxnW/8HB5nC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmFK3Z4ACgkQnvQgOdby QH1H7hAAkAkZeJosUeZWtrLPqj4/0D39i6Zfz88CS1rP+P7zkrfbQeysB08r0RO6 3ERyRk8fnDSQXbUcH0uGnjpYxm2UvFrqC4EIjYREk5+cmJnYwtYd64Kid2fRd7mr d8nHn4K32WQcDUnG8zbyRJ6WpXFLPUUvDv2OeJhVn54uRFT7PpZ0aLkRH8S7wiU5 z1oTh4C3LxFH5jWxeq5cWtAOhDCJKtGq1OedrMh2SLopAUdXeYTEv25FYFFh28Y3 HAP6yi17AZT7thUnEkFw3L3AFOQlgH7nnh2zP4NfAsNYHWlGsk3sZOvXOP3xgtBG yKv4QjO3LWE42Z1EX5gOl1E33bwHSe0VlXo6TQ99wwho+eqJpPiXGZzC6Y7d+3Ko naOUOw9/siiHlb5PUgIhZkP5YiZVfA9LtU4bPaE+r+i9Vc+U6/JH4Y+g+mJYNcSD xhahY95uUpElLtKETud+bNJwDk7TMY0Zbv7jdGvdk4QqaZV2FAjuF36/aLh8uwnW dxea3za/JcIG53vVqexlREVaIz0fytx0FfosA5OOuVAfsA4oUcL4MwaAKjSacBXs 6dP+e6y4/ys2fMXW/io0JhPMbgMqdJ9ZgnXpSNspV+6CIcmvF6YL5Ow6NcXfoAwn Z9I4NZmF2/9ioDBL9mlHe+eFhw+mX5XvYb7gsfXH8UoDdchzSPg= =IW5R -----END PGP SIGNATURE----- --IBeMkoxnW/8HB5nC--