aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-07-11 16:08:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-07-11 16:08:50 +0000
commit6dafb5b4ae9753b3951878dd1d6f353cc6f9e388 (patch)
tree3bf0c52110b552574fcb2bbbfdbc89ba18289e41 /src/backend/access/gist/gistutil.c
parent165b65bb377d2a7b5a5eb5e291334ccc51361754 (diff)
downloadpostgresql-6dafb5b4ae9753b3951878dd1d6f353cc6f9e388.tar.gz
postgresql-6dafb5b4ae9753b3951878dd1d6f353cc6f9e388.zip
Fix an oversight in the original implementation of performMultipleDeletions():
the alreadyDeleted list has to be passed down through deleteDependentObjects(), else objects that are deleted via auto/internal dependencies don't get reported back up to performMultipleDeletions(). Depending on the visitation order, this could cause the code to try to delete an already-deleted object, leading to strange errors in DROP OWNED (typically "cache lookup failed for relation NNNNN" or similar). Per bug #4289. Patch for back branches only. This code has recently been rewritten in HEAD, and doesn't have this particular bug anymore.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions