pgsql: Fix uninitialized memory bug

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

pgsql: Fix uninitialized memory bug

От:
Alvaro Herrera <alvherre@alvh.no-ip.org>
Дата:
Fix uninitialized memory bug

Have interested callers of find_inheritance_children set the
detached_exist value to false prior to calling it, so that that routine
only has to set it true in the rare cases where it is necessary.  Don't
touch it otherwise.

Per buildfarm member thorntail (which reported a UBSan failure here).

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/43b55ec4bc3bc06596d966391f16defe016310ec

Modified Files
--------------
src/backend/catalog/pg_inherits.c   | 5 +----
src/backend/partitioning/partdesc.c | 1 +
2 files changed, 2 insertions(+), 4 deletions(-)

FAQ