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 1wKemS-001DdX-1I for pgsql-hackers@arkaria.postgresql.org; Wed, 06 May 2026 16:07:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wKemR-000Ilq-0m for pgsql-hackers@arkaria.postgresql.org; Wed, 06 May 2026 16:07:23 +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 1wKemQ-000Ili-34 for pgsql-hackers@lists.postgresql.org; Wed, 06 May 2026 16:07:22 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wKemO-00000000qlj-3uw2 for pgsql-hackers@postgresql.org; Wed, 06 May 2026 16:07:22 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 646G7A8c776313; Wed, 6 May 2026 12:07:10 -0400 From: Tom Lane To: Andres Freund cc: Andy Fan , David Rowley , pgsql-hackers Subject: Re: Make printtup a bit faster In-reply-to: <7nfy6enxgwzptesyd2oexlwtqaxtlhbec4yqs44mqgjbyanpss@icwtswsr3wam> References: <87wmjzfz0h.fsf@163.com> <87bk1aj2go.fsf@163.com> <877bpk7dyg.fsf@163.com> <117986.1777869518@sss.pgh.pa.us> <877bpghevm.fsf@163.com> <7nfy6enxgwzptesyd2oexlwtqaxtlhbec4yqs44mqgjbyanpss@icwtswsr3wam> Comments: In-reply-to Andres Freund message dated "Wed, 06 May 2026 11:52:10 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <776311.1778083630.1@sss.pgh.pa.us> Date: Wed, 06 May 2026 12:07:10 -0400 Message-ID: <776312.1778083630@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: >> Puting optional context via the fcinfo looks novel to me (I have zero >> experience to use fcinfo utility.). > We do that in a bunch of places, e.g. for the context of window functions > (c.f. PG_WINDOW_OBJECT() WindowObjectIsValid()). A closely related precedent is the introduction of "soft error reporting" for input functions. See d9f7f5d32 and follow-ons. regards, tom lane