Обсуждение: pgsql-server/ ontrib/pgstattuple/README.pgstat ...

Поиск
Список
Период
Сортировка

pgsql-server/ ontrib/pgstattuple/README.pgstat ...

От
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/08/29 13:14:33

Modified files:
    contrib/pgstattuple: README.pgstattuple pgstattuple.c
                         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

Log message:
    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.