pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Nikita Glukhov <n.gluhov@postgrespro.ru>
To: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Anthony Bykov <a.bykov@postgrespro.ru>
Subject: Re: Jsonb transform for pl/python
Date: Fri, 5 Oct 2018 17:40:00 +0200
Message-ID: <b42c5bb1-6f63-a767-5f6b-272b1ab9535a@2ndquadrant.com> (raw)
In-Reply-To: <b14b08f2-6598-b386-46f7-cd577383d54f@postgrespro.ru>
References: <20171025145100.3a19933f@anthony-24-g082ur>
	<20180112140425.41174bd3@anthony-24-g082ur>
	<151577178706.20515.9599911730425998398.pgcf@coridan.postgresql.org>
	<b6edf1ab-5440-8798-de08-eb816baf58ba@2ndquadrant.com>
	<f07b3955-e3e7-b410-b4fc-dae290774cf9@postgrespro.ru>
	<84a3eaf4-32f6-d2dd-7139-e9c5dd3fec2d@2ndquadrant.com>
	<c02881c2-26ca-dc53-137c-a1239aa9b8c0@2ndquadrant.com>
	<6001af16-b242-2527-bc7e-84b8a959163b@postgrespro.ru>
	<CAPpHfdtw51jzqyF9GDjL=iCdh2gGALJQ8YygS7uaBxFBoVbdHQ@mail.gmail.com>
	<b14b08f2-6598-b386-46f7-cd577383d54f@postgrespro.ru>

On 27/09/2018 16:58, Nikita Glukhov wrote:
> Working on the new lazy transform for jsonb I found another memory leak in
> PLyObject_ToJsonbValue(): palloc() for output boolean JsonbValue is unnecessary,
> 'out' variable is already initialized.
> 
> Fix is attached.

Committed, thanks.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (30+ messages)

Message-ID: <b42c5bb1-6f63-a767-5f6b-272b1ab9535a@2ndquadrant.com>
Permalink:  ../b42c5bb1-6f63-a767-5f6b-272b1ab9535a@2ndquadrant.com/
Also on:    postgresql.org/message-id/b42c5bb1-6f63-a767-5f6b-272b1ab9535a@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, n.gluhov@postgrespro.ru, a.korotkov@postgrespro.ru, pgsql-hackers@lists.postgresql.org, a.bykov@postgrespro.ru
  Subject: Re: Jsonb transform for pl/python
  In-Reply-To: <b42c5bb1-6f63-a767-5f6b-272b1ab9535a@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox