Re: Clean up code - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Clean up code
Date
Msg-id a0c1e17c-4f68-53fe-b411-394d69ecad20@iki.fi
Whole thread Raw
In response to Clean up code  (CK Tan <cktan@vitessedata.com>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Single transaction in the tablesync worker?
Next
From: 0010203112132233
Date:
Subject: Re: Improvements and additions to COPY progress reporting