Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZujwD-0003JQ-6h for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Nov 2015 16:32:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZujwC-0001pe-6r for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Nov 2015 16:32:28 +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 1ZujwA-0001p6-Ua for pgsql-bugs@postgresql.org; Fri, 06 Nov 2015 16:32:27 +0000 Received: from nm30-vm5.bullet.mail.ne1.yahoo.com ([98.138.91.252]) by magus.postgresql.org with esmtps (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Zujw6-0004iq-V8 for pgsql-bugs@postgresql.org; Fri, 06 Nov 2015 16:32:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1446827540; bh=v0A/ovEbXCa+XjqiT5kD87KjW++Hh0U8Cy4BpcjGkYA=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=qwtGCayrBtWjbtWcIxqldzbe4ZF9bJtUzVCCP+QyuOuOTbGaA3j8MNdD8ZTC/x3qI0SMMijLPVtxDkZKjtMD/hWkhtTtay0I0aHYYx9tipcrrI6QpYM94Al1isoZG5+ixlU4Jbs/aVSEhE/mROb7Otp1eWcX8pGOYMLBw2XzDtxnUulX/BIVRlpc4CwjUFXE2O5pBRyBxLb+rd2unlnStdj62kXtFOhF+ywo/UMBqoUB8NyrT2CMLw3Cn3AC3hD4/GRdsKyMRiXjtnV3dD4LRT6f8Y8+blomaAKM7bDXQYlU+GZ2izfpSgd7yqWEKXdvNgbJoDfgqY0P/SWlk320Xw== Received: from [98.138.100.103] by nm30.bullet.mail.ne1.yahoo.com with NNFMP; 06 Nov 2015 16:32:20 -0000 Received: from [98.138.88.239] by tm102.bullet.mail.ne1.yahoo.com with NNFMP; 06 Nov 2015 16:32:20 -0000 Received: from [127.0.0.1] by omp1039.mail.ne1.yahoo.com with NNFMP; 06 Nov 2015 16:32:20 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 473435.70628.bm@omp1039.mail.ne1.yahoo.com X-YMail-OSG: C._VEbAVM1kVU0alCg5fAiIPugwm5MN6StvZYEaZ9S57ap5gGXfe6see.CPB4W5 iddM8OSB83ByC87p_Bz.yoM5iWuMFajuBPqgYIkLgfp3V9R_x7T6OOW55iS1SwlXFviUQ9bxcn6Z CL2uAsL1pdcDmh1W4KsX_cDdOllzBicsxfZfw36ra75jbSYd8PuId3U.mHZ9Z_MwG1Vb2wbAJ_Wz 7k.DiQWCuvvF54DvKFklTksTgX1n0uXlhqxMtBxB4pcsmYnLwtVCTc4Bi.muo5GbmYKbLbjdpiRL eoryWTz9cEy2PWRNMnokUOylJQqqA2oF59UD3LoHXZWRq_ny7_slvf4QDT8D9bman8jTbAOo3cXT kkAftPgdf9HnoWHhaM8lGWRM.c2afHf0AtHf.0WT_k2AgzRdPX9bEzs4utv5sfmm5r31koqFnmAP reFdoqL9iMXcgXempA8RaBGWNitO_9KScFijal1Ll53JrPqKYIY7hyfUOi3HELJpwVPp9dYcPsj1 ufvRZ08YlDSBtni3WnftARAlwN0qOvPQ- Received: by 98.138.105.198; Fri, 06 Nov 2015 16:32:20 +0000 Date: Fri, 6 Nov 2015 16:31:59 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: "vijaysam@mailworks.org" , "pgsql-bugs@postgresql.org" Message-ID: <1800885278.731274.1446827519471.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <20151105190132.14034.15191@wrigleys.postgresql.org> References: <20151105190132.14034.15191@wrigleys.postgresql.org> Subject: Re: BUG #13757: Able to write to postgres even when the main process has been killed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 1001 X-Pg-Spam-Score: -1.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 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