Обсуждение: pgsql: Get rid of unnecessary memory allocation in jsonb_subscript_assi

Поиск
Список
Период
Сортировка

pgsql: Get rid of unnecessary memory allocation in jsonb_subscript_assi

От
Alexander Korotkov
Дата:
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(-)