No AVworkers when PM_RECOVERY_CONSISTENT

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: No AVworkers when PM_RECOVERY_CONSISTENT
Date: 2009-09-05 08:13:02
Message-ID: 1252138382.2889.694.camel@ebony.2ndQuadrant
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


When pmState == PM_RECOVERY_CONSISTENT we run
SignalAutovacWorkers(SIGTERM);
at normal shutdown

This currently does nothing, but since there aren't ever going to be any
AVworkers at this time we should be explicitly skipping this. That
should avoid misunderstanding the code and avoid any future side
effects.

Low priority, minor.

Removed while updating earlier work on HS.

--
Simon Riggs www.2ndQuadrant.com

Attachment Content-Type Size
shutdown_av_only_in_PM_RUN.v1.patch text/x-patch 990 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Boszormenyi Zoltan 2009-09-05 12:20:05 Re: ECPG patchset
Previous Message Robert Haas 2009-09-05 03:13:23 Re: match_unsorted_outer() vs. cost_nestloop()