summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAlvaro Herrera2021-11-05 15:29:34 +0000
committerAlvaro Herrera2021-11-05 15:29:34 +0000
commit92224e470c830e73636de20689690f28037cd019 (patch)
treeef7dc09afbfaa5d999c096df7d8eab48bcdd2416 /doc/src
parentb110af5f7c9fbfdef3451cd8878342757deef89d (diff)
Avoid crash in rare case of concurrent DROP
When a role being dropped contains is referenced by catalog objects that are concurrently also being dropped, a crash can result while trying to construct the string that describes the objects. Suppress that by ignoring objects whose descriptions are returned as NULL. The majority of relevant codesites were already cautious about this already; we had just missed a couple. This is an old bug, so backpatch all the way back. Reported-by: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/17126-21887f04508cb5c8@postgresql.org
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions