aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-01-07 20:40:40 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-01-07 20:40:40 -0500
commiteeb3c2df429c943b2f8d028d110b55ac0a53dc75 (patch)
treedcc9ad2922c8d3e01477f035f65ca5dd233a2a3f /src/backend/access/gist/gistget.c
parent6271fceb8a4f07dafe9d67dcf7e849b319bb2647 (diff)
downloadpostgresql-eeb3c2df429c943b2f8d028d110b55ac0a53dc75.tar.gz
postgresql-eeb3c2df429c943b2f8d028d110b55ac0a53dc75.zip
Back off chattiness in RemovePgTempFiles().
In commit 561885db0, as part of normalizing RemovePgTempFiles's error handling, I removed its behavior of silently ignoring ENOENT failures during directory opens. Thomas Munro points out that this is a bad idea at the top level, because we don't create pgsql_tmp directories until needed. Thus this coding could produce LOG messages in perfectly normal situations, which isn't what I intended. Restore the suppression of ENOENT logging, but only at top level --- it would still be unexpected for a nested temp directory to disappear between seeing it in the parent directory and opening it. Discussion: https://postgr.es/m/CAEepm=2y06SehAkTnd5sU_eVqdv5P-=Srt1y5vYNQk6yVDVaPw@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions