Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fPpmb-0003Bo-Um for pgsql-general@arkaria.postgresql.org; Mon, 04 Jun 2018 13:44:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fPpma-0003bl-Du for pgsql-general@arkaria.postgresql.org; Mon, 04 Jun 2018 13:44:24 +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.89) (envelope-from ) id 1fPpma-0003bb-60 for pgsql-general@lists.postgresql.org; Mon, 04 Jun 2018 13:44:24 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fPpmX-0007Ck-VX for pgsql-general@postgresql.org; Mon, 04 Jun 2018 13:44:23 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 3D692D4BF48B for ; Mon, 4 Jun 2018 06:44:20 -0700 (MST) Date: Mon, 4 Jun 2018 06:44:20 -0700 (MST) From: pavan95 To: pgsql-general@postgresql.org Message-ID: <1528119860207-0.post@n3.nabble.com> In-Reply-To: References: <1528118250600-0.post@n3.nabble.com> Subject: Re: How to get postmaster shut down time in postgres? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Adrian/Melvin, Thanks for your prompt replies. Yeah, I'm aware of that way. But my requirement is to get the server shutdown time whenever that event occurs and insert into a table dynamically!! Is it possible? The main reason for my requirement is to find the time swing between server stop and start. Thanks in advance. Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html