pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: shihao zhong <zhong950419@gmail.com>
Cc: Tomas Vondra <tomas@vondra.me>
Cc: 1217816127@qq.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@postgresql.org>
Subject: Re: BUG #19763: ManualBug2 NULL pointer dereference in make_build_data via examine_expression bypass of lookup_var_a
Date: Wed, 21 Oct 2026 14:56:41 +0900
Message-ID: <athUGX48bWpMkGjP@paquier.xyz> (raw)
In-Reply-To: <CAGRkXqQWF+p5O46uh-4aRQQr5135RZr=91UArf+eijOaUv1JCw@mail.gmail.com>
References: <19763-14da3f96c02f07e8@postgresql.org>
	<d6cc3cd3-4eea-45a1-a2e4-91423a902063@vondra.me>
	<4a008244-3d3f-4563-8caf-0976fc59816f@vondra.me>
	<CAGRkXqTTTYgav5f5SRdoMVBc50rmx+L8rwdb38i+qdaixuN1qg@mail.gmail.com>
	<atcUe6vjUEn_K9vu@paquier.xyz>
	<CAGRkXqQWF+p5O46uh-4aRQQr5135RZr=91UArf+eijOaUv1JCw@mail.gmail.com>

On Tue, Oct 20, 2026 at 08:29:28PM -0400, shihao zhong wrote:
> v2 checks the result there too and skips the object with the same
> warning. I did not add a test for it, since it needs another fancy
> callback.

Fancy typanalyze callbacks are what make the DNA of the test module
test_custom_types.  I'd suggest to add a test for it.  Your previous
duplicated test had little meaning.  This would be a second test for a
separated code path, that acts as its own check.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (11+ messages)  latest in thread

Message-ID: <athUGX48bWpMkGjP@paquier.xyz>
Permalink:  ../athUGX48bWpMkGjP@paquier.xyz/
Also on:    postgresql.org/message-id/athUGX48bWpMkGjP@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, zhong950419@gmail.com, tomas@vondra.me, noreply@postgresql.org
  Subject: Re: BUG #19763: ManualBug2 NULL pointer dereference in make_build_data via examine_expression bypass of lookup_var_a
  In-Reply-To: <athUGX48bWpMkGjP@paquier.xyz>
  References: <19763-14da3f96c02f07e8@postgresql.org> <d6cc3cd3-4eea-45a1-a2e4-91423a902063@vondra.me> <4a008244-3d3f-4563-8caf-0976fc59816f@vondra.me> <CAGRkXqTTTYgav5f5SRdoMVBc50rmx+L8rwdb38i+qdaixuN1qg@mail.gmail.com> <atcUe6vjUEn_K9vu@paquier.xyz> <CAGRkXqQWF+p5O46uh-4aRQQr5135RZr=91UArf+eijOaUv1JCw@mail.gmail.com> <athUGX48bWpMkGjP@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox