This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]