]> granicus.if.org Git - postgresql/commit
From: Igor <igor@sba.miami.edu>
authorMarc G. Fournier <scrappy@hub.org>
Fri, 6 Jun 1997 01:42:02 +0000 (01:42 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 6 Jun 1997 01:42:02 +0000 (01:42 +0000)
commit8d1f52ef24695d616b006c6b05c086c6d6209ba8
treed56068cedc7f18a456454d19bb35227dcdbf25b9
parent442306fe3648a8c739976dd74b9c41fdbc663f85
From: Igor <igor@sba.miami.edu>
Subject: [PATCHES] More psql and libpq patches

Well..these would be the last patches until the release (I hope)...
I ran the regression tests while watching psql under purify, and it did
not leak even one byte.

In this patch:

* Plugged a major leak when PSQL reads files for input (either through
  \i options or through -f option)
* Fixed the one remaining leak in PSQL in not clearing PGresult *results
  everywhere it is supposed to. (Thanks Tymm)
* Fixed A small leak in PSQL not clearing all the PGsettings correctly.
* A not-so-obvious (but small) leak in Libpq when PQsetdb fails for any
  reason.
* Added \n to some Libpq error messages to make them easier to digest..
* Finally, added /* PURIFY */ comment to some of the code indicating
  the reason for why it was added/changed...for future developers.
src/bin/psql/psql.c
src/interfaces/libpq/fe-connect.c