]> granicus.if.org Git - postgresql/commit
Optimize CleanupTempFiles by having a boolean flag that keeps track of whether
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 19 Sep 2008 04:57:10 +0000 (04:57 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 19 Sep 2008 04:57:10 +0000 (04:57 +0000)
commit5817d861e9cf2d05a9379bd1b72c95caf7d36559
tree805cf2d534aae8a6371588186bdf8fe8d7b9c35b
parent9fe79c39cad5f161def17006d4efeea984d1b077
Optimize CleanupTempFiles by having a boolean flag that keeps track of whether
there are FD_XACT_TEMPORARY files to clean up at transaction end.

Per performance profiling results on AWeber's huge systems.

Patch by me after an idea suggested by Simon Riggs.
src/backend/storage/file/fd.c