Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5F1j-00331g-08 for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 03:35:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w5F1h-00BT0u-1p for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 03:35:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5EyY-00BOzY-1X for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2026 03:32:10 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w5EyW-00000000zk1-0Qjd for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2026 03:32:10 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-43b5bded412so1499001f8f.0 for ; Tue, 24 Mar 2026 20:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774409527; x=1775014327; darn=lists.postgresql.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=AhQWCPbLo88ir8BevEZF4YoknQqAyjFgbhWs2IT0y9s=; b=JZXMOgMbfVlGiG+CSCpg1+3fMjYYN9BadsfeUSIhxssb8bs9fBJeRcjzLN57IwmysG 8NqT3GtVbYUkHv2zTjgcL9xapCe+lNIZ+eSqepE7LtovloIDWd2jqkBrIw9LjtCycZIu kILBK+Bl9BiDjT4vjY3uVAf4usys0y+bMk2bF/moMLZwK0lc+NVGAMLHh6TOUlWnXib0 8CL0W1IhuWodm2SEFwJVfaRgp04owoMTHcphlwpdcGX60gYb0kI/pfEBMIpEK+aio9R7 9Ji4NBJBz+26jeectweyYQbb1D0koND0FesE6Plt/ImIDCRUZ5MEPoaZfwp38BQRKSeN fKQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774409527; x=1775014327; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AhQWCPbLo88ir8BevEZF4YoknQqAyjFgbhWs2IT0y9s=; b=Fbd1ABnEux1kstRrJT/yIXQrcFT/vA1N2pngL0tHEN3m70Esq532JEcHRkghq14m6g 2MIeWhoaw5b5MY/DNXLSQHcoA0OwaFXlWHn2Rh1fN/2QsnuQoYeHP+sPF2G3Vt6g+q15 HzlSxZzjHy9w4gdA6CS6PPAhXwDY4rrbllLIiLSnmaloFStoyCPLsn9fgdaC/LD3a163 dIXzSZzu03kMNecrH0LofQOCzAPJoepoWTLS33n8kK1o5idYWXx3YPYRQTsDluy6wEe2 quXu54lb6MqJF0LCatN1xD11LyXy1hGVhzaaKjULVDR9M1h53Fwt4VsrSbXxMv/m7Z+K mxnA== X-Forwarded-Encrypted: i=1; AJvYcCWPOc5KIAZUumr4pHl/Oco6T32kZzZgDIlupjmqOHDn264bsU7CSu9PD3Rk0XFOrWC9w+q+VREsvFGGVkUU@lists.postgresql.org X-Gm-Message-State: AOJu0YzYMXGKTqzAF9QhpHx7C/LRyCjWbNtv9jcYkinwQcQWH+ad+P53 olXwl2c3CC4r4+v1LEsFsL3xq9ae44QcRC0ZeNjP1pU18gliq2I80dtR X-Gm-Gg: ATEYQzxQ68Swwwz4rikvuLluGLtzp5R1dvIYDTfAapoPP82b7FjGif2Bvz9WtyA1Szj kJLWftlvviUUuMSHsGX6hqnNR+L+jI3dnjnquwwDbWEcQX64mier98M/wckKzkmI9LJuHf2E7vN hyB02o0OnH9A+C4E6gwDP1iPQ1RJSAPbZjnqMnqcdOki6ajoF9Rj3LKLVFVNVlNZMziKGcm+TsA avn4VDOsfuNKmhaVsuRJ5c6uu/m4jobLtP62J65wNJrcUtuS08H9gG2FpjOEY0RNamWnEi5oodK dLUHOflet8atZllhLXJ2UJ7BjIeqV5fuNTvRxPk+SFCum8N1Izv2mm1iCd6f6rFxPDQXbH2eHrb soOwiPNaf0gAC0mUrb5VLY+EDzcweyrbuv8Rj7kRF4sRPlez30daI+3RLWzXvUX8Rpeu8/xqYDv Ixk4VltYIQHdDxRwdiRnp8s+BiXA2zoiZFIb4VeBMF8tVT/4p6Bj7kv3LQve/JcNGY7yB+np3bf Q6IaQ+9WcXe3W2oPsZBQvOyrbShdJZHbH+alCBXT6obekde1umPzqZZCw== X-Received: by 2002:a05:6000:2c06:b0:439:bf55:f5ec with SMTP id ffacd0b85a97d-43b88a39c15mr2358663f8f.50.1774409527514; Tue, 24 Mar 2026 20:32:07 -0700 (PDT) Received: from ip-10-97-1-34.eu-west-3.compute.internal (ec2-15-237-197-144.eu-west-3.compute.amazonaws.com. [15.237.197.144]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b6470c239sm43075066f8f.27.2026.03.24.20.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Mar 2026 20:32:06 -0700 (PDT) Date: Wed, 25 Mar 2026 03:32:05 +0000 From: Bertrand Drouvot To: =?iso-8859-1?Q?=C1lvaro?= Herrera Cc: Michael Paquier , Andres Freund , Jeff Davis , Greg Sabino Mullane , "L. pgsql-hackers" Subject: Re: Adding locks statistics Message-ID: References: <202603241611.3vnou5cwxdpq@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202603241611.3vnou5cwxdpq@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Tue, Mar 24, 2026 at 05:16:11PM +0100, Álvaro Herrera wrote: > Hello, > > On 2026-Mar-23, Bertrand Drouvot wrote: > > > 2/ Not directly linked to your patches > > > > It looks like that aio_funcs.c does not need lock.h (reported by include-what-you-use). > > If we remove its direct include, it's still indirectly included through proc.h > > though. But I think that removing its direct include makes sense as it's not > > needed at all. > > I'm not opposed to somebody else making this change, if they want, but I > think there's little practical impact. yeah, not sure it deserves its own commit... I was just mentioning here in case you want to change that in passing while working on lock.h includes. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com