delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/17/22:52:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <pgman AT candle DOT pha DOT pa DOT us>
Message-Id: <200402180352.i1I3q5t00246@candle.pha.pa.us>
Subject: Re: [Dbdpg-general] RE: DBD::Pg - $dbh->quote() causes core dump
In-Reply-To: <Pine.LNX.4.44.0402172034300.430-100000@elfride.ineffable.net>
To: Rudy Lippan <rlippan AT remotelinux DOT com>
Date: Tue, 17 Feb 2004 22:52:05 -0500 (EST)
CC: Rafael Kitover <caelum AT debian DOT org>, cygwin AT cygwin DOT com,
"'Ian Sealy'" <Ian DOT Sealy AT bristol DOT ac DOT uk>, dbdpg-general AT gborg DOT postgresql DOT org
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019