aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2023-01-13 08:28:05 +0530
committerAmit Kapila <akapila@postgresql.org>2023-01-13 08:28:05 +0530
commitdca8b01f5f1f7c83c59a16393724fbd8a29ddecb (patch)
tree1acb6a3685042dd6131c6ebf8b171189422c6ea0 /src/include/executor
parente753ae6397fe16db8e8e5b3e34ca6d53b4eded61 (diff)
downloadpostgresql-dca8b01f5f1f7c83c59a16393724fbd8a29ddecb.tar.gz
postgresql-dca8b01f5f1f7c83c59a16393724fbd8a29ddecb.zip
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/include/executor')
0 files changed, 0 insertions, 0 deletions