Re: Problem with tupdesc in jsonb_to_recordset

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Problem with tupdesc in jsonb_to_recordset
Дата
Msg-id 20180711113048.GF14301@paquier.xyz
обсуждение исходный текст
Ответ на Re: Problem with tupdesc in jsonb_to_recordset  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-hackers
On Wed, Jul 11, 2018 at 11:38:46AM +0100, Andrew Gierth wrote:
> My first approach - assuming that update_cached_tupdesc has good reason
> to make a copy, which I'm not convinced is the case - would be to simply
> make a per-query-context copy of the tupdesc to assign to rsi.setDesc in
> order to conform to the call protocol.

I see what you are coming at here, thanks for the input.  I am not
really convinced that update_cached_tupdesc needs to do a new copy
either, but let's see what Tom has to say on the matter.  That's his
feature and his code.
--
Michael

Вложения

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

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Preferring index-only-scan when the cost is equal
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Negotiating the SCRAM channel binding type