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

Tsunakawa, Takayuki <tsunakawa.takay@jp.fujitsu.com>

From: "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>
To: 'Kyotaro HORIGUCHI' <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: "thomas.munro@enterprisedb.com" <thomas.munro@enterprisedb.com>, "maumau307@gmail.com" <maumau307@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, "meskes@postgresql.org" <meskes@postgresql.org>
Date: 2018-06-25T08:16:10Z
Lists: pgsql-hackers
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.


> .. Is there any means to find the library version on the
> installed environment?

You can manually see the library version on the [Details] tab in the properties dialog with Windows Explorer.  I don't know how to get the version in a program.


Regards
Takayuki Tsunakawa





Commits

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