Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZukLj-0004dH-D9 for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Nov 2015 16:58:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZukLi-0005Bn-QL for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Nov 2015 16:58:50 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZukL6-0004Td-SS for pgsql-bugs@postgresql.org; Fri, 06 Nov 2015 16:58:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZukL3-0003Or-UG for pgsql-bugs@postgresql.org; Fri, 06 Nov 2015 16:58:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id tA6Gw5cb021283; Fri, 6 Nov 2015 11:58:05 -0500 From: Tom Lane To: Kevin Grittner cc: "vijaysam@mailworks.org" , "pgsql-bugs@postgresql.org" Subject: Re: BUG #13757: Able to write to postgres even when the main process has been killed In-reply-to: <1800885278.731274.1446827519471.JavaMail.yahoo@mail.yahoo.com> References: <20151105190132.14034.15191@wrigleys.postgresql.org> <1800885278.731274.1446827519471.JavaMail.yahoo@mail.yahoo.com> Comments: In-reply-to Kevin Grittner message dated "Fri, 06 Nov 2015 16:31:59 +0000" Date: Fri, 06 Nov 2015 11:58:05 -0500 Message-ID: <21282.1446829085@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Kevin Grittner writes: > On Thursday, November 5, 2015 1:11 PM, "vijaysam@mailworks.org" wrote: >> when I try to kill -9 the master server main postgres process. >> The client code from java is able to continue to write to the >> postgres db which was the old master as there was a connection >> established to this server and the connection keeps allowing >> write to happen as thought the server is still running. > Before reporting a bug it is a good idea to check whether a fix for > it is available. IIUC, the OP is complaining about the fact that backends will keep running even if the postmaster has died. That's not a bug, but the designed behavior. There's been some recent discussion of changing it, but if it does change it will only be in HEAD not back branches. 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