Fix uninitialized memory bug

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 43b55ec4bc3bc06596d966391f16defe016310ec
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2021-04-22T20:04:48Z
Releases: 14.0
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).

Files

PathChange+/−
src/backend/catalog/pg_inherits.c modified +1 −4
src/backend/partitioning/partdesc.c modified +1 −0