pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Sofer, Yuval <Yuval_Sofer@bmc.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: Postgres 9.2.8 crash sporadically on Windows
Date: Mon, 07 Apr 2014 11:39:01 -0400
Message-ID: <19447.1396885141@sss.pgh.pa.us> (raw)
In-Reply-To: <20140407152025.GF4161@awork2.anarazel.de>
References: <2C0926ABD16BB641A8E2F11A54920042556493AA22@PHXCCRPRD01.adprod.bmc.com>
	<20140407145202.GE4161@awork2.anarazel.de>
	<18921.1396883732@sss.pgh.pa.us>
	<20140407152025.GF4161@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-04-07 11:15:32 -0400, Tom Lane wrote:
>> The "exit code 0" bit reminds me of this:
>> 
>> http://www.postgresql.org/message-id/21027.1393546453@sss.pgh.pa.us
>> 
>> Is there another exit report for the same PID just above the quoted log
>> extract?  Because if there isn't, the postmaster shouldn't be thinking
>> that status 0 represents a crash.

> Wouldn't a pl or library doing a exit(0); cause exactly that, because it
> will still be in PM_CHILD_ASSIGNED?

Oh, hm, that's a possibility, if the OP is using any untrusted PLs.
As you say, we lack sufficient context.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (10+ messages)  latest in thread

Message-ID: <19447.1396885141@sss.pgh.pa.us>
Permalink:  ../19447.1396885141@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19447.1396885141@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@2ndquadrant.com, Yuval_Sofer@bmc.com
  Subject: Re: Postgres 9.2.8 crash sporadically on Windows
  In-Reply-To: <19447.1396885141@sss.pgh.pa.us>
  References: <2C0926ABD16BB641A8E2F11A54920042556493AA22@PHXCCRPRD01.adprod.bmc.com> <20140407145202.GE4161@awork2.anarazel.de> <18921.1396883732@sss.pgh.pa.us> <20140407152025.GF4161@awork2.anarazel.de> <19447.1396885141@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox