Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZunT8-0005xL-VG for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Nov 2015 20:18:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZunT7-00036F-D3 for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Nov 2015 20:18:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZunT5-000364-Py for pgsql-bugs@postgresql.org; Fri, 06 Nov 2015 20:18:39 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZunSx-0000qi-A6 for pgsql-bugs@postgresql.org; Fri, 06 Nov 2015 20:18:38 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 81229207B4 for ; Fri, 6 Nov 2015 15:18:28 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute4.internal (MEProxy); Fri, 06 Nov 2015 15:18:28 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=mailworks.org; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=yEb3xFHTkS16nT/dJgbGbr1P4/k=; b=wQSyja dGO3B51lyAMM2AnKL2B5s0XVrDCPhEdT4Eobza9OzOqDYawMP0P97pNgpPfnXFNU 7brKMCdfysl8cZya0/Xn3sXpU7SLweoH/IRqhNRXb+HGX3oB4XKrdXTwdPHCpcCg tDXia9nIDkw7roDChkGBXSbruMoczMd5jtt84= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=yEb3xFHTkS16nT/ dJgbGbr1P4/k=; b=pzD9l9bH85fliQSy6JTWxQvoV9LkiV2ppPJLWFv3mpE/m3z ZlAcPqHcIvDErK2JFM849p0jvgTRRv55ImeqYx5q2cY7hL1lgo6Y7cAbB1W5jFhQ +veew72cSwuSqZqskVPc4WFXsd266M7r9kyXMHLbnzwXSzM2ED7fdTjI545w= Received: by web3.nyi.internal (Postfix, from userid 99) id 4FA1210A397; Fri, 6 Nov 2015 15:18:28 -0500 (EST) Message-Id: <1446841108.1072310.431374745.49CE3C2B@webmail.messagingengine.com> X-Sasl-Enc: z0HmDoA15LlAF7zW97uohR68qbaZx5gAtmErxcPnSStQ 1446841108 From: Vijayakumar Krishnan To: Kevin Grittner , pgsql-bugs@postgresql.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-643af86c 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> Subject: Re: BUG #13757: Able to write to postgres even when the main process has been killed Date: Sat, 07 Nov 2015 01:18:28 +0500 X-Pg-Spam-Score: -2.7 (--) 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 Yes just did a fresh build of 9.4.5 from source and tried the same test. Seems the problem still exists. Thanks, -vijay On Fri, Nov 6, 2015, at 09:31 PM, Kevin Grittner wrote: > On Thursday, November 5, 2015 1:11 PM, "vijaysam@mailworks.org" > wrote: > > > Postgres 9.4.1 > > http://www.postgresql.org/support/versioning/ > > > 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. Version 9.4.5 includes this: > > | * Ensure that the postmaster does not exit until all its child > | processes are gone, even in an immediate shutdown (Tom Lane) > | > | Like the previous item, this avoids possible race conditions > | against a subsequently-started postmaster. > > > Do you still see the problem when running with fixes for the known > bugs? > > -- > Kevin Grittner > EDB: http://www.enterprisedb.com > The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs