Re: Use get_call_result_type() more widely

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Use get_call_result_type() more widely
Дата
Msg-id Y6Jd1jObpRTOqTeV@paquier.xyz
обсуждение исходный текст
Ответ на Re: Use get_call_result_type() more widely  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Use get_call_result_type() more widely  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: Perform streaming logical transactions by background workers and parallel apply
Следующее
От: Eric Radman
Дата:
Сообщение: Re: [PATCH] Add function to_oct