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.94.2) (envelope-from ) id 1t2fPN-0066fZ-7P for pgsql-hackers@arkaria.postgresql.org; Sun, 20 Oct 2024 23:32:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t2fPL-002byO-F2 for pgsql-hackers@arkaria.postgresql.org; Sun, 20 Oct 2024 23:32:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2fPJ-002byF-VS for pgsql-hackers@lists.postgresql.org; Sun, 20 Oct 2024 23:32:23 +0000 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2fPC-001ufV-Vh for pgsql-hackers@postgresql.org; Sun, 20 Oct 2024 23:32:20 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 8723A138027C; Sun, 20 Oct 2024 19:32:13 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Sun, 20 Oct 2024 19:32:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1729467133; x=1729553533; bh=QRtfmLWg6N UPnuO+D85hpJEcjykQ1FjTDt75TBpq2xE=; b=XBOtsBVIX3VlPQxz8K6NnHJV5Z yryu+EaPjozfCj7YuJzwTREVcD70e16PjS4t90yoo0h5YCKGufYC2VQIRepzjkrj 4Sh59PEqrVoHofY8rHQ6oYEIYLOJ9ov4/0o6Gpr9IQZPj+mqQjqx3yq3DEbdAtGq 0a9pApN+yFPyPX/C7YARLgQmTYB3kI19PqN770Jhkzde2FFXsxscvyClhdDmpTY+ RDwoQNSv3hh45Gn0pLevRXjjBuEkZxINkuCfqkrRVPWVgfOO45YJqUH6gZfeHKtx rKk/J/OQ0t89ukS1IZnawAog6ivSQhMgk/u4uEfiztByAuv8sA7b/64s0MIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1729467133; x=1729553533; bh=QRtfmLWg6NUPnuO+D85hpJEcjykQ 1FjTDt75TBpq2xE=; b=ofRNUpVBJge8VmVN1FSlhG2j2fnLRdiHpZLS6D/gtVNe 0shSqrqzRVoNINXNEGNhWrnATyTeIi/vDAd3SDj71KM05dpAp6LL+P19QnhG3smn 28/rCkeyIzz66miiaPwvsimDT9Nn1QMKRUPuTIjSvnnhDhyBash+f353X1vv+1A0 LAcrwrQMrCSZj3dAFgiXWR+CqQveqApp1phBL1Yz59PTAb8bq9HkZr8/hHGRVWIx rLjP8TeYtbqz7yQtklqwL5pzYhcBSp1t+npmHFbWL+NONGh6z/7qgvgWMd2mbm0x 7FR8kxt/N2knnKVqineU16lSc4EfIKL2ujaieHc5Bg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehkedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufhffjgfkfgggtgesthdtredttderjeen ucfhrhhomhepffgrghhfihhnnhcukfhlmhgrrhhiucforghnnhhsnohkvghruceoihhlmh grrhhisehilhhmrghrihdrohhrgheqnecuggftrfgrthhtvghrnhepkeeljeeufefhffek hfektdefleeuvdeiiefhheeffeefgeegudffudehjeejiefgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhlmhgrrhhisehilhhmrghrihdr ohhrghdpnhgspghrtghpthhtohepuddupdhmohguvgepshhmthhpohhuthdprhgtphhtth hopehmihgthhgrvghlsehprghquhhivghrrdighiiipdhrtghpthhtohepthhglhesshhs shdrphhghhdrphgrrdhushdprhgtphhtthhopegrlhgvkhhsrghnuggvrhesthhimhgvsh gtrghlvgdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehpohhsthhg rhgvshhqlhdrohhrghdprhgtphhtthhopehtvghoughorhesshhighgrvghvrdhruhdprh gtphhtthhopehprghshhhkihhnrdgvlhhfvgesghhmrghilhdrtghomhdprhgtphhtthho pegvgigtlhhushhiohhnsehgmhgrihhlrdgtohhmpdhrtghpthhtoheplhgvphhihhhovh esghhmrghilhdrtghomhdprhgtphhtthhopeiirggrrhhtuhhrsehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i1ff147bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Oct 2024 19:32:10 -0400 (EDT) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: Alexander Korotkov Cc: jian he , Artur Zakirov , Andrei Lepikhov , Alexander Lakhin , Pavel Borisov , Teodor Sigaev , Pgsql Hackers , Aleksander Alekseev , Tom Lane , Michael Paquier Subject: Re: type cache cleanup improvements References: <1927cba4-177e-5c23-cbcc-d444a850304f@gmail.com> <8613a1d1-e19c-41fc-8b9d-efc62d63fc17@gmail.com> <57fe476a-01c1-452e-ad0a-8eb49123bd28@gmail.com> Date: Mon, 21 Oct 2024 00:32:08 +0100 In-Reply-To: (Alexander Korotkov's message of "Mon, 21 Oct 2024 01:09:23 +0300") Message-ID: <87y12i8i6f.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alexander Korotkov writes: > +static Oid *in_progress_list; > +static int in_progress_list_len; > +static int in_progress_list_maxlen; Is there any particular reason not to use pg_list.h for this? - ilmari