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 1wVQDw-001wuR-27 for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Jun 2026 08:48:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wVQDu-00B5fv-0Q for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Jun 2026 08:48:14 +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 1wVQDt-00B5fn-2p for pgsql-bugs@lists.postgresql.org; Fri, 05 Jun 2026 08:48:13 +0000 Received: from mail-yx1-xb134.google.com ([2607:f8b0:4864:20::b134]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wVQDr-00000001D2H-3xei for pgsql-bugs@lists.postgresql.org; Fri, 05 Jun 2026 08:48:13 +0000 Received: by mail-yx1-xb134.google.com with SMTP id 956f58d0204a3-660e9ea26b9so1727399d50.3 for ; Fri, 05 Jun 2026 01:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780649290; cv=none; d=google.com; s=arc-20240605; b=ROIlFkdjZtx4VROkGy5dKI565g9N2BixS1VXYf8+Khfv0qXPAH9dWLdV/YRQaFqmcx G/UXtL2jkgJrVIXwpI6vYmcvv/+uHregmkg3MKo1xYuMhPXUoztAgR6JnrgQW4CC77Vk XfHg05JK0DxF/4HvooswCEM6YZjqTqZ41hgCIsPKXTSzaFzGCHT4IBWQsHOCHYCE6ZDP xA7Mi/vm1Pd1Ggb1DKpHgWh050rnebMC1pwCllIiJJFwZdmr+ZXRFOHTY75UVhvV1pgC ohX9HpNXrTBznKGoMIPFEQF0irTIFWd2erNDbxyHkcL6/lA87e13lOTrr/oms3ebIZbk 3ttQ== 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=K+jvdIpf5S/WJ6pBPzNweBOy96TM5YJjmo+oOs0emJA=; fh=1xLOnjM4eggIjdri5MgkPFHrxHAE6vTltVg+o60dKA4=; b=SFvmO0M7t3hqXaOxxyhkeOdc2w8fYaSn+UBeHFSVDW7sfZXNo0VbhmxtfanYnyjrDL eDk3WHsgC80+e26ShRyo3+5hEE6hOQxdwu73oj/bLabS3ma803vEbyrz0kOmUxPiRKAY oEV0Uob8TEm5nnRJqMSOFCDb6R0pm2yuPOFneic24IQTD5Lfs8o5OzPbQFuxWBhSfwSf 8uTWHNJ/nWuUJP8avERozIJRX2ebZtNHZFp+TN2aGEHJlyWQi8Zn+BxNNUO5g4GaS9lj f1zgVRtxeo2SjTC9IJwbw5X+vdmQSNXCYHax/6w6JJZj/251A++F4cDoZiq0oxELo18q cVVw==; 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=1780649290; x=1781254090; 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=K+jvdIpf5S/WJ6pBPzNweBOy96TM5YJjmo+oOs0emJA=; b=r+NyoHZ38znQOH9DDPV0Ft0vHcxPwonyQJdPKKyyz52r6+eIhbYv0eC9yRdforr8vJ Q0EwQNRiF2wYKWtpRZati+woByrd6RXa+K1lqNXOWNSNb6vqiX1spoIFrxp4BEpH2c0P iL6jhkRq4z2Bcea7tfWhzMTLH1AKBZv/MffryyXOyGYqGI6E9QCc0wcUg3EFJPM+QC2v p676LxNbuY3mrGIHqR9t3z5a1XfGnQKdSYGb6D0/dgAwrd1RadyVAQ2D5jlb4iACSzFY ipkfDyyuTGtmQlV7D7lxeQJpodkkomOu5zxD2uBblG2h/RUmwJqdYxUVrZmZ8gPWAryz oBrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780649290; x=1781254090; 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=K+jvdIpf5S/WJ6pBPzNweBOy96TM5YJjmo+oOs0emJA=; b=D4GW2xsK9PRJDdDu/+Tqo/NbLIYO7/jOBgtmMITrcfD/L8EQ6CIo5Plp11/DQPpXsv ie0inVBSGKvhjNRgFwt2LOrj1Xmt/JNqrjsGLRaKxxWRVkNYMiyUkMs1j/qn0mp00NQO DrArkr7KVHPPF+KmWoR86k3ZEb9xNQC7dEr+n570ZKYlW26nIwCApMAXjsOGnfB1lhHh 13bo5pikozUl3sVE9r/JnX+skUGS/88jqAQmWnfhd7oYOmJZ0ZgzGdJx5HfIQZjQrRh3 gsfnOWYyhla39o6a2fjGZFAXn/33yvnclEYPOhfJDvid0YXDI2/HHkpDCeL4eeBzlUL6 QELg== X-Forwarded-Encrypted: i=1; AFNElJ85OAKnMAzi/wGhtUu5WkKRUNeK/gG8JIz907ZXNKagMFu2Ycp9EWDB1oVWit173cdzCI3QFxtdZwaT@lists.postgresql.org X-Gm-Message-State: AOJu0Yw7apOSsSXoA9s6q9FTD2MbVcQbeseZYN9Bv5E/QfcaVakAllhx OR+euaa8ItqnK2XxN/n16hGSiz9bbdI5hYQPeNShlpO9LyBT86MHi0XEG7LKt/d9fdOTpaVlxko Dl0gGATwUFvLofbexY6O0+XA9rDEBIpg= X-Gm-Gg: Acq92OE5EFDdB5Yyzxl2zPWv8V1VC5lRhZKhl7qTiAKraq/QnYaVmlH9/1Q8rrQPggh K3ygf1jlpUpQmWr0QMFQU3ngQgY43x6BrA4RDYOfps8prcE7upfy0yf4OQSmU4EjWKDaFIas8Bo nN3yOaz5SdLNxtVsEKg59teDs/TZXOMosvspotVslVE8YymJZxQFgn8gkPrG+fdSTCViWzsEFOV afGiI3VmOliD9hUzlzuuDKfxF8iUoL5h64NzzFyRh8RfRX7ydpIB7rtpS8HBVSw2DAsxqg/13Qa UrNBESmtTCoXx4nJscleMsZWScVUZ7mCJUrhEst3In5hc9O7ztCj X-Received: by 2002:a53:b886:0:b0:660:5b90:b43b with SMTP id 956f58d0204a3-66106f3bd82mr1807000d50.38.1780649290605; Fri, 05 Jun 2026 01:48:10 -0700 (PDT) MIME-Version: 1.0 References: <19508-e5f188183279219b@postgresql.org> In-Reply-To: From: Ayush Tiwari Date: Fri, 5 Jun 2026 14:17:58 +0530 X-Gm-Features: AVVi8CdtYYe1AOmKSWiS8OT5yTCHq8tE1CMYMyRuiuFJeFmydp_3jnZ63xp3qtw Message-ID: Subject: Re: BUG #19508: pg_buffercache_pages() crashes the backend with an incompatible caller-supplied record definition To: Fujii Masao Cc: =?UTF-8?B?0JrQsNC70LjQvdC40L0g0J3QuNC60LjRgtCw?= , PostgreSQL mailing lists Content-Type: multipart/alternative; boundary="0000000000006fa8cc06537db87b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000006fa8cc06537db87b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Fri, 5 Jun, 2026, 13:28 Fujii Masao, wrote: > On Fri, Jun 5, 2026 at 12:42=E2=80=AFPM Ayush Tiwari > wrote: > > One small nit: build_buffercache_pages_tupledesc() names attribute 8 > > "usage_count", while the existing pg_buffercache view and the test use > > "usagecount". This probably does not affect the tupledesc_match() check= , > > but I think it would be better to keep the existing spelling for > > consistency. > > Agreed. I've fixed that and attached an updated version of the patch. > LGTM. Regards, Ayush > --0000000000006fa8cc06537db87b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Fri, 5 Jun, 2026, 13:28 Fu= jii Masao, <masao.fujii@gmail.c= om> wrote:
On Fri, Jun 5, 20= 26 at 12:42=E2=80=AFPM Ayush Tiwari
<ayushtiwari.slg01@gmail.com> wrote:
> One small nit: build_buffercache_pages_tupledesc() names attribute 8 > "usage_count", while the existing pg_buffercache view and th= e test use
> "usagecount". This probably does not affect the tupledesc_ma= tch() check,
> but I think it would be better to keep the existing spelling for
> consistency.

Agreed. I've fixed that and attached an updated version of the patch.

LG= TM.

Regards,
Ayush
--0000000000006fa8cc06537db87b--