Обсуждение: Clean up code

Поиск
Список
Период
Сортировка

Clean up code

От
CK Tan
Дата:
Hi, can someone point me to the code that cleans up temp files should a query crashed unexpectedly? Thanks!

Re: Clean up code

От
Heikki Linnakangas
Дата:
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



Re: Clean up code

От
"Euler Taveira"
Дата:
On Mon, Feb 8, 2021, at 7:09 PM, CK Tan wrote:
Hi, can someone point me to the code that cleans up temp files should a query crashed unexpectedly? Thanks!
See this patch [1].




--
Euler Taveira