Re: pgsql: Some refactoring to export json(b) conversion functions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Some refactoring to export json(b) conversion functions
Дата
Msg-id 202310050913.s6zyrpyuy7yq@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pgsql: Some refactoring to export json(b) conversion functions  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
On 2023-Aug-08, Alvaro Herrera wrote:

> One idea that Tom floated was to allow the JsonLexContext to be
> optionally stack-allocated.  That reduces palloc() traffic; but some
> callers do need it to be palloc'ed.  Here's a patch that does it that
> way, and adds a freeing routine that knows what to do in either case.
> It may make sense to do some further analysis and remove useless free
> calls.

Pushed this, after some further tweaking.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"La verdad no siempre es bonita, pero el hambre de ella sí"



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

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: [PoC] pg_upgrade: allow to upgrade publisher node
Следующее
От: Andrei Lepikhov
Дата:
Сообщение: Re: Removing unneeded self joins