pgsql: Remove hash_destroy calls in hash_create's failure paths.

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Remove hash_destroy calls in hash_create's failure paths.
Дата
Msg-id 20060814123956.1A9489FB223@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Remove hash_destroy calls in hash_create's failure paths.  As noted by
a Coverity warning, these are risky since the hashtable isn't necessarily
fully set up yet.  They're unnecessary anyway: a deletable hashtable
should be in a memory context that will be cleared following elog(ERROR).
Per report from Martijn van Oosterhout.

Modified Files:
--------------
    pgsql/src/backend/utils/hash:
        dynahash.c (r1.70 -> r1.71)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/hash/dynahash.c.diff?r1=1.70&r2=1.71)

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

Предыдущее
От: knt@pgfoundry.org (User Knt)
Дата:
Сообщение: plscheme - plscheme: README file imported.
Следующее
От: korryd@pgfoundry.org (User Korryd)
Дата:
Сообщение: edb-debugger - workstation: Hiroshi-san's second patch (correcting my