pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@ymail.com>
To: vijaysam@mailworks.org <vijaysam@mailworks.org>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13757: Able to write to postgres even when the main process has been killed
Date: Fri, 6 Nov 2015 16:31:59 +0000 (UTC)
Message-ID: <1800885278.731274.1446827519471.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <20151105190132.14034.15191@wrigleys.postgresql.org>
References: <20151105190132.14034.15191@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Thursday, November 5, 2015 1:11 PM, "vijaysam@mailworks.org" <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



view thread (7+ messages)  latest in thread

Message-ID: <1800885278.731274.1446827519471.JavaMail.yahoo@mail.yahoo.com>
Permalink:  ../1800885278.731274.1446827519471.JavaMail.yahoo@mail.yahoo.com/
Also on:    postgresql.org/message-id/1800885278.731274.1446827519471.JavaMail.yahoo@mail.yahoo.com

 · 

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: kgrittn@ymail.com, vijaysam@mailworks.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>

* 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