pgsql: Get rid of unnecessary memory allocation in jsonb_subscript_assi

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема pgsql: Get rid of unnecessary memory allocation in jsonb_subscript_assi
Дата
Msg-id E1l6X3m-0006l6-KA@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Get rid of unnecessary memory allocation in jsonb_subscript_assign()

Current code allocates memory for JsonbValue, but it could be placed locally.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bb513b364b4fe31574574c8d0afbb2255268b321

Modified Files
--------------
src/backend/utils/adt/jsonbsubs.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)


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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: pgsql: Fix portability issue in new jsonbsubs code.
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: pgsql: Implementation of subscripting for jsonb