Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kapila2023-01-13 02:58:05 +0000
committerAmit Kapila2023-01-13 02:58:05 +0000
commitdca8b01f5f1f7c83c59a16393724fbd8a29ddecb (patch)
tree1acb6a3685042dd6131c6ebf8b171189422c6ea0 /src/backend/commands/constraint.c
parente753ae6397fe16db8e8e5b3e34ca6d53b4eded61 (diff)
Avoid creating parallel apply state hash table unless required.
This hash table is used to cache the state of streaming transactions being applied by the parallel apply workers. So, this should be created only when we are successful in launching at least one worker. This avoids rare case memory leak when we are never able to launch any worker. Author: Ted Yu Discussion: https://postgr.es/m/CALte62wg0rBR3Vj2beV=HiWo2qG9L0hzKcX=yULNER0wmf4aEw@mail.gmail.com
Diffstat (limited to 'src/backend/commands/constraint.c')
0 files changed, 0 insertions, 0 deletions