Re: Use get_call_result_type() more widely - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Use get_call_result_type() more widely
Date
Msg-id Y6Jd1jObpRTOqTeV@paquier.xyz
Whole thread Raw
In response to Re: Use get_call_result_type() more widely  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Use get_call_result_type() more widely
List pgsql-hackers
On Tue, Dec 20, 2022 at 11:12:09AM -0500, Tom Lane wrote:
> On the whole, I'm content to leave the BlessTupleDesc calls in
> these callers.  They are cheap enough if the tupdesc is already
> blessed.

Yeah, agreed.

I have applied v2-0001, after fixing one error in wparser.c where some
of the previous style was not removed, leading to unnecessary work and
the same TupleDesc being built twice for the two ts_token_type()'s
(input of OID or text).
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Perform streaming logical transactions by background workers and parallel apply
Next
From: Eric Radman
Date:
Subject: Re: [PATCH] Add function to_oct