Re: Use get_call_result_type() more widely
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-12-20T07:38:59Z
Lists: pgsql-hackers
On Mon, Dec 19, 2022 at 07:41:27PM +0530, Bharath Rupireddy wrote: > I agree with the bucketization. Please see the attached patches. 0001 > - gets rid of explicit tuple desc creation using > get_call_result_type() for functions thought to be not-so-frequently > called. It looks like I am OK with the code paths updated here, which refer to none of the "critical" function paths. > 0002 - gets rid of an unnecessary call to BlessTupleDesc() > after get_call_result_type(). Hmm. I am not sure whether this is right, actually.. -- Michael
Commits
-
Switch some system functions to use get_call_result_type()
- 22e3b558052a 16.0 landed