Re: SIGALRM in autovacuum.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SIGALRM in autovacuum.c
Date
Msg-id 27422.1136172918@sss.pgh.pa.us
Whole thread Raw
In response to SIGALRM in autovacuum.c  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Is this correct in autovacuum.c?
>         pqsignal(SIGALRM, handle_sig_alarm);
> Should it be SIG_IGN?

Absolutely not.  autovacuum takes locks just like a backend and has to
be able to handle deadlock timeout checks.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: SIGALRM in autovacuum.c
Next
From: elein
Date:
Subject: Re: Why don't we allow DNS names in pg_hba.conf?