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 1wa3LN-001Usn-1Y for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2026 03:23:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wa3LM-00971B-1O for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2026 03:23:04 +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 1wa3LM-009712-0Z for pgsql-bugs@lists.postgresql.org; Thu, 18 Jun 2026 03:23:04 +0000 Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wa3LK-000000011ZE-1JOH for pgsql-bugs@lists.postgresql.org; Thu, 18 Jun 2026 03:23:03 +0000 Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-7dfceeaf168so8002157b3.0 for ; Wed, 17 Jun 2026 20:23:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781752981; cv=none; d=google.com; s=arc-20240605; b=F8zqdzJEOudua64T1bceBFBGU7G+V124ye6W0qrBeeb7CMre1AXIaIZmymzYJwWMmf mqmTzRDN+J8aX9iT6WMAPVMQ0/WywUnQZrlvmlp/slPfS9F52qJXzSTXyK0pB9RgWz3g Nvi0CEKSLigYG2GPGmGGMcjBvSrZK+41O+0HELJcGLHB9VouuD9hCVRspA05zydKmoo/ 2WKWcvjjYQ0nciJsFBF/IMqxWI8QGYI0vH/a6mReg018Ay/wVIC64u8ennXAnjAHCBwb H29Japb/uFLOiIVLwctnNIO/cfLKm6vsQvMagi24IfvRSmUTpDHamk+tbFhEncwhAfBj 8ENg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=mFfSDMaBnGgO/r1i+LuJ1tZnW1Fse7MiWdNpBv7nxco=; fh=vbVIWQVQ954dtJDm8+8ZKKdZDUCBgleOWFVR+9PVDXQ=; b=h8GBF/jqxgw50IurW1twMQ+8N2JKSUbwJ/xGDtjl8L6Dzdjn43OVTndnjTWwMOrTXK e5dSD0cnqh/zvZAvLDEmLm3w1abFNSaM+jLryhY65eO1cSvSY2EUKdGwhiuiDOWGR29W 5kq0lELTyiGWMMRGc7GWwuVBb9ovaTUenphz+ghK77bOCNVo40TanrXdGIyJBPYiiOJB 3Ps5cW525ZBSL4q3cLhR142NzbaJ9MR2B3v1EXQUaljvuau32yR/BJw9R/djJNJfqE10 vIg7OteTlzGK8eFzFKWlPGiwITMsRNLp1hQFJr+31fVvVx+m0z40dc0/nwpIp80XVvBL tlIw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781752981; x=1782357781; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mFfSDMaBnGgO/r1i+LuJ1tZnW1Fse7MiWdNpBv7nxco=; b=AWpaYTtWCcXF451Rh5w+ccd0k/GmshuZibvUwwemdy0DfXzonp4ppbDqziBDyTHiHo uhU7eQm+itmcZogXqWLbzKfm9g2Yhxw8Y9VV9jEDgcoILf/J7Ptz3RWjUcxvrMK4/Ivc QRyNGhrg5sLZDjgr6upezS+iO01O966xKQZzYWqB0CebslPnUq5ZrYOFFc9O5RU8qKuN /mxVXgtuOoUqUYWfkKj2FFnR5+9UO+CJCX4nfCkAcf2/CrESsm2TTu2lh6T9uAmd56lW J3CM23Xhqlg+g7FITHzDrX+w6GW/+rYu32awg4i9FjHWW0FbzLEM/h3fpo967eVLR1oo zWXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781752981; x=1782357781; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mFfSDMaBnGgO/r1i+LuJ1tZnW1Fse7MiWdNpBv7nxco=; b=qtVd1y4A0k96V0AdfOBDPnZQfCdJ2Q4GcGcSpqt/Wpxll/DpKhMokD3sL+JjYX65ng sUIJNt7ftgv6+I68F+dn9lM/9AIqzZJ9neeHtCcd+cX7y1k/QWNdi/705XXVFcsOE/dv 0NHdcTo5rOc9jgCS+qVDv5b6IP7NciTThKKu1DSEO0vyKpVxworl4lNJI8EiBRal4Ug+ T2iVRGWIwrU1gVpzuLPIxK6LipVEWt8wk2ie3jw6BpK4rjXHBNRN1Wj5iZSVqpxBttEV GzMcgUmHV6tuuA8tuUpHNAVCG4Ik5/2HTa5BGog18OQq3Eq7ChjwkGZXdZnYNtsebFY2 6EDA== X-Forwarded-Encrypted: i=1; AFNElJ9QgZNBaaByd31dBk4VcJEothwDnMz6ECECo5m1faoG6Y886CHay9i+qDYA6LdzKZcWlLQ3ZJRzknj5@lists.postgresql.org X-Gm-Message-State: AOJu0Yzxa3kZbYfDIjkpHOBnI5ptz1votVnmn9yakiuVKCIj3x0SN52N ENwyYT6TV7p11uoSE572qqUFXN4ZHy4cm+vKYBqoaikJlhTgv5RamSjEl2zsYPzBuGHVtt+tS5u QgVa7NKysKiXLSsXQdOq2TS2gNTcuZMA= X-Gm-Gg: AfdE7clsipRJgoo0VpEmZ6/xq+febMhAsSnYinm6dIwlpZMGlSKYjHSgA2i5fRc7kqX VCi9LKLPMJvWAaajH10phfW7clbAJ6/LqHOKwXMG275blxpsVJhe4oGNsK1TDfXaGjYV/eCmDJh 1keFtXiCGk7n9b6cfAlawzOp2dfUEdmEEmQl4+EC2Lt1aIktqF6PCch4XDUUZa6aWn5qW2wl9dQ 7xt5HLFr93e3mTiveHoYl5Kn9y+KTB1soJzp8EiwBf8uT4RMn2MhhhyIABQu4k3brTdZjA= X-Received: by 2002:a05:690c:9c06:b0:7e2:b35a:adba with SMTP id 00721157ae682-7fe5c043435mr75013867b3.21.1781752980705; Wed, 17 Jun 2026 20:23:00 -0700 (PDT) MIME-Version: 1.0 References: <19520-73873648d44793cf@postgresql.org> In-Reply-To: From: Ayush Tiwari Date: Thu, 18 Jun 2026 08:52:49 +0530 X-Gm-Features: AVVi8CfuMNufveop21jBMmJKK7Nz-18LunJ2nH5Ehb03-UWK2GhZMkVhwp1W184 Message-ID: Subject: Re: BUG #19520: PANIC when concurrently manipulating stored procedures with pg_stat_statements and track_functions = To: Michael Paquier Cc: Sami Imseih , zlh21343@163.com, pgsql-bugs@lists.postgresql.org, Andres Freund , Kyotaro Horiguchi Content-Type: multipart/alternative; boundary="0000000000007e137806547eb1f8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000007e137806547eb1f8 Content-Type: text/plain; charset="UTF-8" Hi, On Thu, 18 Jun 2026 at 06:33, Michael Paquier wrote: > > Attaching an updated patch for now. I am still testing it locally > across all the branches to make sure that the issue is gone (that > takes quite a bit of time). I'll probably apply it in a few hours > down to v15 if nothing pops up. > The v2 patch looks fine to me. Tested it, no PANICs. And the assert too looks good to me. Regards, --0000000000007e137806547eb1f8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Thu, 18 Jun 2= 026 at 06:33, Michael Paquier <mi= chael@paquier.xyz> wrote:

Attaching an updated patch for now.=C2=A0 I am still testing it locally
across all the branches to make sure that the issue is gone (that
takes quite a bit of time).=C2=A0 I'll probably apply it in a few hours=
down to v15 if nothing pops up.

The v2 patch looks= fine to me. Tested it, no PANICs.

And the assert too looks good to = me.

Regards,
--0000000000007e137806547eb1f8--