aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-02-07 14:19:52 +0900
committerMichael Paquier <michael@paquier.xyz>2022-02-07 14:19:52 +0900
commit42a9e88bf6a809e6023c9d50f58cc6b9446f229d (patch)
treee78bb2d925c1eba2b65a2a1b3e2b80b7b54c3388 /src/backend/access/gist/gistbuild.c
parent38bfae36526636ef55daf7cf2a3282403587cb5b (diff)
downloadpostgresql-42a9e88bf6a809e6023c9d50f58cc6b9446f229d.tar.gz
postgresql-42a9e88bf6a809e6023c9d50f58cc6b9446f229d.zip
Add (void) cast in front of rmtree() call at the end of pg_upgrade
Most calls of rmtree() report an error, and the code coming from 38bfae3 has introduced one caller where this is not done. The previous behavior was to not fail hard if any log file generated is not properly unlinked when cleaning up the contents generated once the upgrade has completed, so add a cast to (void) to indicate the intention behind this new code. Per gripe from Coverity.
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions