agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Alan Byrne <alan@nova.ucd.ie>
To: postgres@postgres.Berkeley.EDU
Subject: Re: Memory Leaks
Date: Mon, 28 Aug 1995 16:37:07 +0100
Message-ID: <199508281537.IAA04018@nobozo.CS.Berkeley.EDU> (raw)
Further to my previous mail:
To fix memory leaks in the libpq frontend you need to add two free statements
to pq_connect. It might be better to just use straight variables for these. ?
Anyone who wants to have a daemon running which accesses postgres will need to
patch this.
*** pqcomm.c Mon Aug 28 16:07:01 1995
--- /usr2/postgres/osf/src/backend/libpq/pqcomm.c Wed Feb 9 00:12:24 1994
***************
*** 559,565 ****
pqdebug("%s", PQerrormsg);
return(STATUS_ERROR);
}
! free(MyConn); free(SendPort);
PQAsyncNotifyWaiting = 0;
PQnotifies_init();
/* pq_regoob(pq_async_notify);*/
--- 559,565 ----
pqdebug("%s", PQerrormsg);
return(STATUS_ERROR);
}
!
PQAsyncNotifyWaiting = 0;
PQnotifies_init();
/* pq_regoob(pq_async_notify);*/
Cheers,
Alan Byrne,
email: alan@nova.ucd.ie
http://slarti.ucd.ie/
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: alan@nova.ucd.ie
Subject: Re: Memory Leaks
In-Reply-To: <199508281537.IAA04018@nobozo.CS.Berkeley.EDU>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox