postgresql/src
Bruce Momjian 1f653ec31e I have attached two patches as per:
1) pltcl:
Add SPI_freetuptable() calls to avoid memory leaks (Me + Neil Conway)
Change sprintf()s to snprintf()s (Neil Conway)
Remove header files included elsewhere (Neil Conway)

2)plpython:
Add SPI_freetuptable() calls to avoid memory leaks
Cosemtic change to remove a compiler warning


Notes:

I have tested pltcl.c for
 a) the original leak problem reported for the repeated call of spi_exec
in a TCL fragment
and
 b) the subsequent report resulting from the use of spi_exec -array
in a TCL
fragment.

The plpython.c patch is exactly the same as that applied to make
revision 1.23,
the plpython_schema.sql and feature.expected sections of the patch are
also the
same as last submited, applied and subsequently reversed out. It remains
untested by me (other than via make check). However, this should be safe
provided PyString_FromString() _copies_ the given string to make a
PyObject.


Nigel J. Andrews
2002-10-14 04:20:52 +00:00
..
backend Make SET really not start a transaction. 2002-10-13 16:55:05 +00:00
bin psql thought that backslash is an escape character inside double quotes. 2002-10-12 23:09:34 +00:00
corba Convert files from DOS format to normal text. 2000-12-03 14:43:59 +00:00
data I've sent 3 mails to pgsql-patches. There are two files, one for doc 1999-08-16 20:27:19 +00:00
include Oops, back out newNode changes. We are not ready for that yet. 2002-10-11 04:16:44 +00:00
interfaces Add tv_sec change for connection timeout suggested by author. 2002-10-11 04:41:59 +00:00
makefiles > > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not 2002-10-09 16:21:54 +00:00
pl I have attached two patches as per: 2002-10-14 04:20:52 +00:00
port pgindent run. 2002-09-04 20:31:48 +00:00
template Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
test Restore NOTICEs that were mistakenly removed from triggers regression 2002-10-03 18:40:02 +00:00
tools Compute version number for docs on the fly. 2002-10-12 16:34:28 +00:00
tutorial Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
utils The attached patch fixes a number of issues related to compiling the 2002-10-03 17:09:42 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
Makefile Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
Makefile.global.in Remove leftovers from subproject removals. Fixes for Python and Kerberos 2002-09-04 22:54:18 +00:00
Makefile.shlib > > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not 2002-10-09 16:21:54 +00:00
nls-global.mk Avoid shell syntax error if list of languages is empty. 2002-09-02 22:19:42 +00:00
win32.mak Remove all traces of multibyte and locale options. Clean up comments 2002-09-03 21:45:44 +00:00