pgsql/src/interfaces/libpq++ (pgconnection.cc pgconnection.h)

Поиск
Список
Период
Сортировка
От Bruce Momjian - CVS
Тема pgsql/src/interfaces/libpq++ (pgconnection.cc pgconnection.h)
Дата
Msg-id 200007271944.e6RJi7L43451@hub.org
обсуждение исходный текст
Список pgsql-committers
  Date: Thursday, July 27, 2000 @ 15:44:02
Author: momjian

Update of /home/projects/pgsql/cvsroot/pgsql/src/interfaces/libpq++
     from hub.org:/home/projects/pgsql/tmp/cvs-serv43431/pgsql/src/interfaces/libpq++

Modified Files:
    pgconnection.cc pgconnection.h

-----------------------------  Log Message  -----------------------------

Here is a bug and patch to fix it. I have tested this bug and fix on
FreeBSD/Intel and DecUX/Alpha machines. The bug appears in postgresql
6.5.3 and 7.0.2. Can someone please review it and apply it to the
source tree?

Sometimes when the postgres connection dies it is necessary to
attempt to reconnect. Calling the pgconnection::Connect method in a
derived class leaks memory because it does not clear the current
connection (if there is one). These patches ensures that any open
connections are closed before attempting to open a new one.

-Michael Richards


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian - CVS
Дата:
Сообщение: pgsql/doc/src/FAQ (FAQ.html)
Следующее
От: Bruce Momjian - CVS
Дата:
Сообщение: pgsql/src/backend/utils/misc (guc-file.l)