Re: Clean up code

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: CK Tan <cktan(at)vitessedata(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Clean up code
Date: 2021-02-09 11:45:34
Message-ID: a0c1e17c-4f68-53fe-b411-394d69ecad20@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message 0010203112132233 2021-02-09 11:51:20 Re: Improvements and additions to COPY progress reporting
Previous Message Amit Kapila 2021-02-09 11:19:28 Re: Single transaction in the tablesync worker?