summaryrefslogtreecommitdiff
path: root/src/backend/postmaster/bgwriter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/postmaster/bgwriter.c')
-rw-r--r--src/backend/postmaster/bgwriter.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/backend/postmaster/bgwriter.c b/src/backend/postmaster/bgwriter.c
index d7d6cc0cd7b..6736a660062 100644
--- a/src/backend/postmaster/bgwriter.c
+++ b/src/backend/postmaster/bgwriter.c
@@ -197,13 +197,6 @@ BackgroundWriterMain(void)
*/
pg_usleep(1000000L);
- /*
- * Close all open files after any error. This is helpful on Windows,
- * where holding deleted files open causes various strange errors.
- * It's not clear we need it elsewhere, but shouldn't hurt.
- */
- smgrcloseall();
-
/* Report wait end here, when there is no further possibility of wait */
pgstat_report_wait_end();
}