pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: How to get postmaster shut down time in postgres?
Date: Mon, 4 Jun 2018 09:00:14 -0500
Message-ID: <9e365331-761a-4210-0803-16ae35aa94ed@gmail.com> (raw)
In-Reply-To: <1528119860207-0.post@n3.nabble.com>
References: <1528118250600-0.post@n3.nabble.com>
	<CANu8FiyrGKbNxd39rh8xJ1B_o+61jO6B5K1xSbVWK6f9WdoiJg@mail.gmail.com>
	<1528119860207-0.post@n3.nabble.com>

On 06/04/2018 08:44 AM, pavan95 wrote:
> 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?

You want to trap the shutdown action and write to an audit table just before 
it happens?

-- 
Angular momentum makes the world go 'round.




view thread (14+ messages)  latest in thread

Message-ID: <9e365331-761a-4210-0803-16ae35aa94ed@gmail.com>
Permalink:  ../9e365331-761a-4210-0803-16ae35aa94ed@gmail.com/
Also on:    postgresql.org/message-id/9e365331-761a-4210-0803-16ae35aa94ed@gmail.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-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: How to get postmaster shut down time in postgres?
  In-Reply-To: <9e365331-761a-4210-0803-16ae35aa94ed@gmail.com>
  References: <1528118250600-0.post@n3.nabble.com> <CANu8FiyrGKbNxd39rh8xJ1B_o+61jO6B5K1xSbVWK6f9WdoiJg@mail.gmail.com> <1528119860207-0.post@n3.nabble.com> <9e365331-761a-4210-0803-16ae35aa94ed@gmail.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