pgsql: Clean up foreign-key caching code in planner.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Clean up foreign-key caching code in planner.
Дата
Msg-id E1apSpA-00005o-7q@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Clean up foreign-key caching code in planner.

Coverity complained that the code added by 015e88942aa50f0d lacked an
error check for SearchSysCache1 failures, which it should have.  But
the code was pretty duff in other ways too, including failure to think
about whether it could really cope with arrays of different lengths.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5306df2831ab012d8008691f833457bc299962aa

Modified Files
--------------
src/backend/optimizer/util/plancat.c | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix access-to-already-freed-memory issue in plpython's error han
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: pg_dump: add missing "destroyPQExpBuffer(query)" in dumpForeignS