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.98.2) (envelope-from ) id 1xJkJn-00000000P9f-3aCZ for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Oct 2026 04:22:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xJkJn-00000008XQ9-0ehu for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Oct 2026 04:22:19 +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.98.2) (envelope-from ) id 1xJkJm-00000008XQ1-3igv for pgsql-bugs@lists.postgresql.org; Thu, 22 Oct 2026 04:22:18 +0000 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xJkJk-00000000LC9-08po for pgsql-bugs@lists.postgresql.org; Thu, 22 Oct 2026 04:22:18 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 26471EC0104 for ; Thu, 22 Oct 2026 00:22:15 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Thu, 22 Oct 2026 00:22:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; 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=1792642935; x=1792729335; bh=VJgh1FjCtW nFUNvNJVY1JDHlTJEahbjjWWTA1cAHGU0=; b=DqVanzfAgzLWZ7SR9VOqYZbjmh fb2eF9DOndBQKPY22RRP91Strg/0cLElc6OtY+qhunBn6IdD7iB8VyEew2ynwGmZ y5NIcZ63yczwztVxDGEa8DS2bLJmo95mU1a9sFD4rR0hd16YRl9wKCEsatfrsJar CoE4dZak1DJES+GJH+pE7LSInN3L/weF14Jmvth3UG82T4eZu6txMT+Jjlbw/Gb0 jllV/6UE03OvK2ln9hZy+BG0WW85ZrcTU1W5YveHLU2VjfFUIB4Wg9DPS5Vn7UFa ydTg2TNAaTEYR2Gdy/vUhzMm8ugQto6kQtaNDCkaX/pTdzawebZMu/LI8+nQ== 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-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1792642935; x=1792729335; bh=VJgh1FjCtWnFUNvNJVY1JDHlTJEahbjjWWT A1cAHGU0=; b=Y/sYt6ryRKXXDN1phYgoRM9gCW6VH3P7tm/UJIMRgO5vHwhbc4x ADuluTI87bh93Plio+J1frZzTXHXCqdv6IDNlHEkd02SDF3gSkUhshggr1/UBeQX zKxl3CTjh6ERExxF0KuOhKzBkcwarf5TcHbphvrojETo3KMBTLoeSZhfi9+ZIyjI 4ZqoGYj9yrYJaM8deZ/7VezsbE6Q4KsyNvaQOoOWk+cS8vQB02laXixM8b7pseM2 3BHeWsDcj4inDOsqLpqlXVp8A32cH3YQ916Z6blV6qR2GJeQixxZOLMaCZP41Apn 9xnrQxtllyKwQPRnm6xbhwKEbwidu8eQHDg== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-07; repo=github.com/dkim2wg/interop; date=2026-10-18; sw=lmtpprox; action=sign d=paquier.xyz a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1792642935; d=paquier.xyz; mf=PG1pY2hhZWxAcGFxdWllci54eXo+; rt=PHBnc3FsLWJ1Z3NAbGlzdHMucG9zdGdyZXNxbC5vcmc+; s=fm2:rsa-sha256:oqIN2Q9Sh/TCCaZGYXKDj1SX4Nw2JgzADbSU4AOSCUHLwkI 5ZZ3wlgvQjK9p81VjeKvTOMvq/dozPTsK7MXEIxR6xECYcYOJs+Xn2hYMA8abqV/ IH1cVMJXnEAMnInhEec9U97IG5b8+kwRlFKfkBLqwt5EWt9bedPsBueVzp9MbK7S 4vJDKZrRsvO/dpB6ZpANvbv+BUEFC1qdflImTN8X6UnySrjmyaXZ5idCgmsW3r0I QyO+PZ/2bY62gfh+zQ40U0wNVVJLQNRN1u62KdySmMZ/GcljKI6s6F6tA9JXU4k9 oQkmF3wbiwAdx903yIydpLGGqncXX4m3qdutFIA==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-07; repo=github.com/dkim2wg/interop; date=2026-10-18; sw=lmtpprox; action=mi-m=1; hc=12; hn=cc,content-disposition,content-type,date,feedback-id,from, in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:ukf4LCPsJL+o+V6IPVNZA2vmjOhLd04B6RE/MtZGBMs=:OkLuwsgvxjxfedR9HeJgIHEhQxa+D2l7Qyj2BSJ0Tj0=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGPznlXTOnk+vi1L/pz+zCdoVKdZaU4KdWAopQVejM4NPPWwC7zaSsaluKdJIdnJ3 8G6JTvqoQ/62EiilwiceeDLkx0GuvW5UiG9jiDpoxn8kSVHbNDYd4YPxQone8o7mRqSpCk KhnV5/4gxCKcgFo5F03+N3OL9I5GYiFuSXtygm1gt52opMWyoD+G6LbyUXty0W/9ztgsFl iIed4KBcvJN983zkf9vH3k7OOR49y2TYYIxULkkAi0ZDBn64Sia/Oa5GEun2+q1TApMK8M nU1WFidcFLDYqsdeENMAQWjyWy92XmJxqOXP/BW0lgKC/3xxVo6J6YQM9J4c8f3g7mzalK c58VLjlqS/HmEltM3lzBAJJ+zY+zGEek95DGuI7xzSA/LEqNyLQ7Jz1M65Ogf1Ye0JKh4g wo5og3zRv7ffWc/LrVyVGIEhmAG1VcPqgBgq4ySdTsJpUF3G38zKKBM576eOVGVSBH/jIe MJSfNJMsSyGXmRmFpOYgq0nh4D4JvPQJ8kCKWBkRWDyoTZ7oB0p+W2Us50rGRrBXPPZrfM lsrCHIyuSfqshWcVISi1IRhNZNeLXRycBeeKAaxYywLksvEgXd10iZRqQjYT1+IWAud9lF qtVSzvdEEx8/VgCxwVwdrEghvbFZnSVQE90jbbes/EjApgKEs9q1emIMzPiw X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Oct 2026 00:22:12 -0400 (EDT) Date: Thu, 22 Oct 2026 13:22:09 +0900 From: Michael Paquier To: shihao zhong Cc: Tomas Vondra , 1217816127@qq.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form Subject: Re: BUG #19763: ManualBug2 NULL pointer dereference in make_build_data via examine_expression bypass of lookup_var_a Message-ID: References: <19763-14da3f96c02f07e8@postgresql.org> <4a008244-3d3f-4563-8caf-0976fc59816f@vondra.me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IKLbhV4Wm3F1WSZR" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --IKLbhV4Wm3F1WSZR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 21, 2026 at 11:23:28PM -0400, shihao zhong wrote: > Thanks. v3 adds a second typanalyze callback to test_custom_types, > int_custom_typanalyze_once. The comments on top of each callback feel super bloated, as much as the comments you have added in the two sequences of tests. These could be tweaked much more, IMO.. report_ext_stats_not_computed() could be static inline. We may want to hear from Tomas as well, as he has already commented on this thread. There is a big conference in Europe this week, and my guess is that he's now busy with the event and that it's going to take some time before we get a reply. @Tomas: Could you look at the patch once you have the occasion, please? -- Michael --IKLbhV4Wm3F1WSZR Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmrZj3EACgkQnvQgOdby QH3zwQ/+NUstzu741rTw/wVtbrjb8o+2mVfBTOFdGrgzxwE6RN5VVMw1YCnQXnU4 8SQ6KHQPF5Fu9fXsPs2X/E1sH+HS0PFHiaUvCUaLE64fEJGfe3r0bC6FqhBoLkSH PHmqjR+vxi5f2H2EYCLqrMR1Q0A1keRB1DPbfUh2AQU65IIxgipJT90kA5Ivuz/y C7C/50qWjP7vH7PHGdEVMOWKxGKGFWrfGn4mhtanY09q8DSUQ+tTvrrtx93OZ4fh DRaYdn9sLTYmLl5QvhtB0KjysDwSTZOHvQLSsO3B8+RAT9FWIM7MPg5UshM+06A8 ik7g81ipesw+ne72onSOfQTJHrI0jCFA8EGMt03w+FgsDVU7zvDPwcy0A7Vk9TgX CNTVaKbdFdwcLi5XlPciImm4y7Sbj4tHtasy2HqJPkZBKQuapxvP349AzeRk3+25 7h5ZP+gJ9pddBzp99qlCfnQwHByPL0hkBdZlzbJqiCiD7HzHONZ9n7Bnp0r0V55E b6rSzLr6NEnOECFG4frRq7BF0Oy3fmN1Z6wqJbcNzw0ctrdi50spBHoPIjrzOWZ2 adi86k+hfEtrcsmIiebPFkprgmhiGZrgUpXiyYrT3m1iEPYPl805sk9Ln+lLNBek dDCqOICUCuk8EErhE4gIqspAuGMde+Y3P0iJMS+fZqYaOZ3xn1k= =emKC -----END PGP SIGNATURE----- --IKLbhV4Wm3F1WSZR--