Re: First steps with 8.3 and autovacuum launcher
Simon Riggs <simon@2ndquadrant.com>
From: Simon Riggs <simon@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@commandprompt.com>, Michael Paesold <mpaesold@gmx.at>, Heikki Linnakangas <heikki@enterprisedb.com>, Gregory Stark <stark@enterprisedb.com>, Guillaume Smet <guillaume.smet@gmail.com>, "Matthew T. O'Connor" <matthew@zeut.net>, Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2007-10-12T16:32:47Z
Lists: pgsql-hackers
On Fri, 2007-10-12 at 11:26 -0400, Tom Lane wrote: > Simon Riggs <simon@2ndquadrant.com> writes: > > That seemed more complex when I thought about that, but if we just use > > SIGUSR2 for automatic cancels then this would be very simple. > > Why not SIGINT? I must be missing something. How would I tell the difference between manual and automatic cancels if we use SIGINT for both cases? Or did you think to put another flag on the PGPROC to allow us to tell whether it isAvoidingWraparound? -- Simon Riggs 2ndQuadrant http://www.2ndQuadrant.com