Re: [bug fix] ECPG: freeing memory for pgtypes crashes on Windows

Thomas Munro <thomas.munro@enterprisedb.com>

From: Thomas Munro <thomas.munro@enterprisedb.com>
To: "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>
Cc: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>, "maumau307@gmail.com" <maumau307@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, "meskes@postgresql.org" <meskes@postgresql.org>
Date: 2018-06-26T12:02:44Z
Lists: pgsql-hackers
On Mon, Jun 25, 2018 at 8:16 PM, Tsunakawa, Takayuki
<tsunakawa.takay@jp.fujitsu.com> wrote:
> From: Kyotaro HORIGUCHI [mailto:horiguchi.kyotaro@lab.ntt.co.jp]
>> However I also don't see a problem to back-patch it, I don't see
>> a problem on such difference between versions.
>
> Thank you, Horiguchi-san and Robert.

Ok, back-patched.

It seems like the other patch[1] might need the same treatment, right?

[1] https://commitfest.postgresql.org/18/1669/

-- 
Thomas Munro
http://www.enterprisedb.com


Commits

  1. Add PGTYPESchar_free() to avoid cross-module problems on Windows.