Re: How to get postmaster shut down time in postgres?

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How to get postmaster shut down time in postgres?
Date: 2018-06-04 14:00:14
Message-ID: 9e365331-761a-4210-0803-16ae35aa94ed@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Fabio Pardi 2018-06-04 14:03:41 Re: How to get postmaster shut down time in postgres?
Previous Message Pavan Teja 2018-06-04 13:56:32 Re: How to get postmaster shut down time in postgres?