Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: Bruce Momjian Message-Id: <200402180352.i1I3q5t00246@candle.pha.pa.us> Subject: Re: [Dbdpg-general] RE: DBD::Pg - $dbh->quote() causes core dump In-Reply-To: To: Rudy Lippan Date: Tue, 17 Feb 2004 22:52:05 -0500 (EST) CC: Rafael Kitover , cygwin AT cygwin DOT com, "'Ian Sealy'" , dbdpg-general AT gborg DOT postgresql DOT org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Rudy Lippan wrote: > On Tue, 17 Feb 2004, Rafael Kitover wrote: > > > Date: Tue, 17 Feb 2004 02:51:42 -0800 > > > There was some memory allocation related funkiness in DBD::Pg that the attached > > patch fixes. You can apply it to both 1.31 and 1.32_1. > > > > Before I apply the path, how needed is that PQfreemem() instead of free() > on win systems? Because earlier versions of pg which are still supported > by DBD::Pg do not have a PQfreemem(). PQfreemem is needed in Win32 because one DLL can't free memory allocated by another, so you need an entry point in libpq to allow freeing of memory. -- Bruce Momjian | http://candle.pha.pa.us pgman AT candle DOT pha DOT pa DOT us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/