Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TQWuv-0003Hg-T3 for pgsql-general@postgresql.org; Tue, 23 Oct 2012 05:20:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TQWur-0004R0-4g for pgsql-general@postgresql.org; Tue, 23 Oct 2012 05:20:41 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q9N5KV78003068; Tue, 23 Oct 2012 01:20:31 -0400 (EDT) From: Tom Lane To: Craig Ringer cc: raghu ram , pgsql-admin@postgresql.org, pgsql-general Subject: Re: [ADMIN] Streaming Replication Server Crash In-reply-to: <50862525.5060904@ringerc.id.au> References: <5084EF7E.5080809@ringerc.id.au> <27094.1350910358@sss.pgh.pa.us> <50862525.5060904@ringerc.id.au> Comments: In-reply-to Craig Ringer message dated "Tue, 23 Oct 2012 13:03:33 +0800" Date: Tue, 23 Oct 2012 01:20:31 -0400 Message-ID: <3067.1350969631@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201210/678 X-Sequence-Number: 191646 Craig Ringer writes: > On 10/22/2012 08:52 PM, Tom Lane wrote: >> But having said that, are we sure 10 is SIGUSR1 on the OP's platform? >> AFAIK, that signal number is not at all compatible across different >> flavors of Unix. (I see SIGUSR1 is 30 on OS X for instance.) > Gah. I incorrectly though that POSIX specified signal *numbers*, not > just names. That does not appear to actually be the case. Thanks. This isn't the first time I've wondered exactly which signal was meant in a postmaster child-crash report. Seems like it might be worth expending some code on a symbolic translation, instead of just printing the number. That'd be easy enough (for common signal names) on Unix, but has anyone got a suggestion how we might do something useful on Windows? regards, tom lane