On 09/02/2021 00:09, CK Tan wrote:> Hi, can someone point me to the code that cleans up temp files should a > query crashed unexpectedly? Thanks!
Autovacuum does that. Search for "orphan" in do_autovacuum() function.
- Heikki