aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-11-20 13:03:39 -0500
committerRobert Haas <rhaas@postgresql.org>2015-11-20 13:03:39 -0500
commit6c878a7553680579f287e4659592c0b874fb2377 (patch)
treeac042140a9cfc9f476ae1f1c4d84e626dc016ee4 /src/backend/utils/adt/ruleutils.c
parent74d0d5f3ebed9d817ec353fb17eedb343a0ab5b4 (diff)
downloadpostgresql-6c878a7553680579f287e4659592c0b874fb2377.tar.gz
postgresql-6c878a7553680579f287e4659592c0b874fb2377.zip
Avoid server crash when worker registration fails at execution time.
The previous coding attempts to destroy the DSM in this case, but child nodes might have stored data there and still be holding onto pointers in this case. So don't do that. Also, free the reader array instead of leaking it. Extracted from two different patch versions both by Amit Kapila.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions