Re: [bug fix] ECPG: freeing memory for pgtypes crashes on Windows
MauMau <maumau307@gmail.com>
From: "MauMau" <maumau307@gmail.com>
To: "Kyotaro HORIGUCHI" <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: <thomas.munro@enterprisedb.com>, <pgsql-hackers@postgresql.org>, <meskes@postgresql.org>
Date: 2018-03-25T13:15:52Z
Lists: pgsql-hackers
Attachments
- pgtypes_freemem_v3.patch (application/octet-stream) patch v3
From: Kyotaro HORIGUCHI The objective of this patch looks reasonable and this doesn't affect ecpg applications except for the problematic case that happens only on Windows. So the points here are only the documentation, the new function name and the how we should place the new defintion. I think this doesn't need more profound review so I'll mark this Ready For Commit after confirming the amendment. I'm sorry for my late reply. Last week I was off for a week. And thank you for your review. All modifications are done. Regards MauMau
Commits
-
Add PGTYPESchar_free() to avoid cross-module problems on Windows.
- edabd8f5a424 9.3.24 landed
- db05d0b906be 9.4.19 landed
- 3bc19d0d263c 9.5.14 landed
- b5b973ef0ba7 9.6.10 landed
- 3566873f2190 10.5 landed
- 4c8156d87108 11.0 landed