]> granicus.if.org Git - postgresql/commit
Adjust nodeFunctionscan.c to reset transient memory context between calls
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Aug 2002 17:14:33 +0000 (17:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Aug 2002 17:14:33 +0000 (17:14 +0000)
commite4186762ffaa4188e16702e8f4f299ea70988b96
tree2ee78b84ead113ad17b029743432c24a37a362f9
parent0201dac1c319599aad3feb752d7ee5162200e2c7
Adjust nodeFunctionscan.c to reset transient memory context between calls
to the table function, thus preventing memory leakage accumulation across
calls.  This means that SRFs need to be careful to distinguish permanent
and local storage; adjust code and documentation accordingly.  Patch by
Joe Conway, very minor tweaks by Tom Lane.
contrib/pgstattuple/README.pgstattuple
contrib/pgstattuple/pgstattuple.c
contrib/pgstattuple/pgstattuple.sql.in
contrib/tablefunc/tablefunc.c
doc/src/sgml/xfunc.sgml
src/backend/executor/nodeFunctionscan.c
src/backend/utils/adt/lockfuncs.c
src/backend/utils/fmgr/funcapi.c
src/backend/utils/misc/guc.c
src/include/funcapi.h