This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [Dbdpg-general] RE: DBD::Pg - $dbh->quote() causes core dump
- From: Bruce Momjian <pgman at candle dot pha dot pa dot us>
- To: Rudy Lippan <rlippan at remotelinux dot com>
- 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
- Date: Tue, 17 Feb 2004 22:52:05 -0500 (EST)
- Subject: Re: [Dbdpg-general] RE: DBD::Pg - $dbh->quote() causes core dump
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/