Re: Make printtup a bit faster

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Andy Fan <zhihuifan1213@163.com>, David Rowley <dgrowleyml@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-05-06T16:07:10Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> 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