pgsql: Fix a tiny memory leak (one List header) in

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix a tiny memory leak (one List header) in
Дата
Msg-id 20060119002728.1BE3C9DCA23@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix a tiny memory leak (one List header) in RelationCacheInvalidate().
This is utterly insignificant in normal operation, but it becomes a
problem during cache inval stress testing.  The original coding in fact
had no leak --- the 8.0 List rewrite created the issue.  I wonder whether
list_concat should pfree the discarded header?

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/cache:
        relcache.c (r1.230.2.1 -> r1.230.2.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/relcache.c.diff?r1=1.230.2.1&r2=1.230.2.2)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix a tiny memory leak (one List header) in
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: It turns out that TablespaceCreateDbspace fails badly if a