Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: Bruce Momjian <pgman@candle.pha.pa.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@remotelinux.com>
Date: Tue, 17 Feb 2004 22:52:05 -0500 (EST)
CC: Rafael Kitover <caelum@debian.org>, cygwin@cygwin.com,
   "'Ian Sealy'" <Ian.Sealy@bristol.ac.uk>, dbdpg-general@gborg.postgresql.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@candle.pha.pa.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/

