Re: [BUGS] BUG #8461: PostgreSQL 9.3 pg_dump heap corruptions

2013-10-14 Thread Marko Tiikkaja
On 10/14/13 2:31 PM, Benjamin Wassermann wrote: but the PG_dump.exe cant free memory which is allocated by libpq.dll. To fix this problem the "libpq.dll" need a new function named "deletePQCharPointer()" libpq already provides that functionality in PQfreemem(): http://www.postgresql.org/docs/

Re: [BUGS] BUG #8461: PostgreSQL 9.3 pg_dump heap corruptions

2013-10-14 Thread Benjamin Wassermann
We finally find out why this problem occurs. PG_dump use some Functions like initPQExpBuffer(..) from the libpq.dll. In this function "initPQExpBuffer(...)" are some memory allocated with malloc(...). (File: "pg_dump.c", line 9366) After the function is successfully dumped to backup file, there

[BUGS] BUG #8461: PostgreSQL 9.3 pg_dump heap corruptions

2013-09-18 Thread benny
The following bug has been logged on the website: Bug reference: 8461 Logged by: Benjamin Wassermann Email address: be...@hegne.de PostgreSQL version: 9.3.0 Operating system: Windows Description: Hi! We are trying to build our own PostgreSQL 9.3 using Visual Studio