Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2021-11-05 15:29:35 +0000
committerAlvaro Herrera2021-11-05 15:29:35 +0000
commitd74b54b3ddf710926a44bf3f9c87c00e6f82d825 (patch)
tree0f76a43eb2be17ba29166c80b962556604966dce /contrib/btree_gist/sql
parentdf80f9da5c6541e744eeb20eaca919c7fc189999 (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 'contrib/btree_gist/sql')
0 files changed, 0 insertions, 0 deletions