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 1waz1j-002DG6-1V for pgsql-bugs@arkaria.postgresql.org; Sat, 20 Jun 2026 16:58:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1waz1h-001vso-0Q for pgsql-bugs@arkaria.postgresql.org; Sat, 20 Jun 2026 16:58:37 +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.96) (envelope-from ) id 1waz1g-001vsf-0c for pgsql-bugs@lists.postgresql.org; Sat, 20 Jun 2026 16:58:36 +0000 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1waz1d-00000001Jsh-1RcV for pgsql-bugs@lists.postgresql.org; Sat, 20 Jun 2026 16:58:35 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id 61EFC14000A2; Sat, 20 Jun 2026 12:58:31 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Sat, 20 Jun 2026 12:58:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm3; t=1781974711; x= 1782061111; bh=oLZUplDl3t6O1P+jI5TEOh0PTZXgxTTnigJYoswNSwU=; b=1 qYsaCLcNAmEckTjOn3higwk3utXVcOf2yAsDAqwzhay2ZRtuM21sNc/EcH71myRm AwggkeEXRTIxOiXD5pPXRZ79N7mgXNKXwC0zbSP72XljPpX4ELVkeNNKp5qE+MV5 BzstPUQlwMhWBlLa9RXeMvywexuc0pehEhaL7aHr5WuNv8U0rcTWkA5zxYY+Tr0A udXfXTBL2KbSXpl1cnGXpsSAHRnkf4HQXGPZ6kZz78Fnbkn/EwVM8paz8LcsqSXs oTUuHA6E2S2BwGoraUollKDq90IMpdYf0TS/JhT8nx0wNSrb0GDOmcvSe9morLun ycqdeBJc3c6gGRUI9K2CA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1781974711; x=1782061111; bh=o LZUplDl3t6O1P+jI5TEOh0PTZXgxTTnigJYoswNSwU=; b=OhTATNmrP4DMM7pb/ FL8Zu1+iduJfIENia3MtCR9f0B/fzaoTVr9BDPbXGoK0OkZDkJ+Eca2xYfi/hoZn suv6c2cErStNEBh93kWE5jum8ILxwIbXC4WG0XY1A51UpGFh0rJnTXGWdNYD4SPw CH4Yx2G7SnkhtotxGMvqoRcN3z7JmCSU5OKQcFzYLSqg1nSJ4uXgT65Rx/8J/UUk 9Hd93EobgbYU7QNuTjhyLlG+kC6YPxF0UrcmLDHzF9nQmNh3KQ8sLN2rVTBCUiHk ht0bl7iLErsgT2EdbPBVBUqRZwD1IJo4do7ekivbWLPzlnvXCaJWjeJwvVqFU8QC /qsdw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGrHa9h59oSmkBctzGpq0Mk3sloHYElQNVU6aD6nUOoXWRfBEmj8dnlcTkyEUGZRZ gPNtKfm1phooaZ6Gu+Vd2dDLuk3pvwE+tMUfWjDss/jYln+H1A0ltuntWRvR2tnftbncWY /yPJlERDR5uGyVloXeDKYQ6Kv+Kr2uZhybj5R4Tt/tEeYx0iEvSnVmcSxnzKwTAJO91Xue Wni4EVTvU7WsOdM86OSrg34fIaq84vxYT0wZPLOo2y7dTjdGaA74c/t2zoMdHZZYja82xb hyttJToGV1z/lnWyI4DvBXEvQas4EfugEK/q1WNNoXVnHUecup47PVu/NF42qSkyFRRyBV /hvXfNNFh1rG1iWtFNYPOrSjpjtRiHfGHDRJoAxVHbVzzToA88MFZsD7iRLikhfUUC8nSX D6U+dgf/O3tTCDfkKFYBejcSxJhRDvNtpkLaMviORGHyTngKro6qtXLi6IThOVQIm71O4Z pgL57IAJLyXUJ5T4IzqcXwGArkIefalP7m4SmHswqHG2QA+BCm7IJi39wFljG9hyuEh4BM LMC2vp0iksmQRHjIaELmUR06qpdAnhpLDSYB+TbeTWbxKPGEiRalwWh1ELiJqG8EBlQImc UHjaOXwWq9eNjJ/EdXIO0VpEB/v8Frz7flg5dZA77pxS2KS7miOx9kTCkfMw X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 20 Jun 2026 12:58:30 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1781974707; bh=xg280t7yEgpnWot9r8zgPu8MGNw5O+2zeb17vqqlXhs=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=2JWK8afi3fUDKp+HiHv7qUjKV7q243ICTsOXDzmn+rh5x1FPO2p+Ucwgs1grB6MXU K6rrAfJmN5o8/B1RTUv6fo4GEgrnpAuyLTG82NGdtqR7R2jfnb5oTBM3N52x96XyAa BsMaQujjFE8TgWxyjhAUzZZCkp41E1dtwdLwMrJJbK4D7QKDiCs9Yk6GISuxB85ul4 L3eKiuxreiUmLB22ZfuV9i6N8TlslsRucvvh5tI1WkNn01mBSFkHEE1MZOHevFqk/W 6Zk2RzEAZdiT76q2M0l8nj0F+3BmiC7HVbwpgLf3EbEBnb4LTvGOAeIXqykKYLsmST mDMUTAWiws5Ow== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id A698BB0068E; Sat, 20 Jun 2026 18:58:27 +0200 (CEST) Date: Sat, 20 Jun 2026 18:58:27 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Michael Paquier Cc: Ayush Tiwari , Sami Imseih , zlh21343@163.com, pgsql-bugs@lists.postgresql.org, Andres Freund , Kyotaro Horiguchi Subject: Re: BUG #19520: PANIC when concurrently manipulating stored procedures with pg_stat_statements and track_functions = Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Jun-20, Michael Paquier wrote: > If you feel strongly about it, we could just do something like the > attached in the v15-v18 range. This introduces a new routine called > pgstat_drop_entry_ext() that gains the new argument "missing_ok", and > pgstat_drop_entry() would be an ABI-compatible wrapper calling it. > > What do you think? Yeah, this sounds more or less reasonable. The callers that pass missing_ok=false could still use the original function name though, no? (Personally I would do for an ABI compatibility in back branches with this new function, and an API breakage in master by simply adding the new argument everywhere, but keeping the old function name. This way we don't preserve unnecessary API ugliness forever.) -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "¿Qué importan los años? Lo que realmente importa es comprobar que a fin de cuentas la mejor edad de la vida es estar vivo" (Mafalda)