Re: Autovacuum worker doesn't immediately exit on postmaster death - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Autovacuum worker doesn't immediately exit on postmaster death
Date
Msg-id 20201029180155.oqyzwauzwros47w3@alap3.anarazel.de
Whole thread Raw
In response to Re: Autovacuum worker doesn't immediately exit on postmaster death  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Autovacuum worker doesn't immediately exit on postmaster death
List pgsql-hackers
Hi,

On 2020-10-29 12:27:53 -0400, Tom Lane wrote:
> Maybe put a check into vacuum_delay_point, and poll the pipe when we're
> about to sleep anyway?

Perhaps we should just replace the pg_usleep() with a latch wait?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Deduplicate aggregates and transition functions in planner
Next
From: Stephen Frost
Date:
Subject: Re: Autovacuum worker doesn't immediately exit on postmaster death