Re: [GENERAL] delete a file everytime pg server starts/crashes - Mailing list pgsql-general

From Melvin Davidson
Subject Re: [GENERAL] delete a file everytime pg server starts/crashes
Date
Msg-id CANu8FizZgvGktF4L-s4CmyY1apUhjcmm7cj2wcMgKwjZwtai7Q@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] delete a file everytime pg server starts/crashes  (athinivas <athinivas@gmail.com>)
Responses Re: [GENERAL] delete a file everytime pg server starts/crashes
List pgsql-general


On Sun, Oct 8, 2017 at 8:33 AM, athinivas <athinivas@gmail.com> wrote:
Hi,

Thank you...will try it :) ...As of now, I'm creating the filename as
pg_start_time so that, every time the server is up, a new file will be
created.


Regards,
Athi



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

>... I'm creating the filename as pg_start_time...

Just an FYI, you do know that

SELECT pg_postmaster_start_time();

will return start time for postgres?

--
Melvin Davidson
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.

pgsql-general by date:

Previous
From: athinivas
Date:
Subject: Re: [GENERAL] delete a file everytime pg server starts/crashes
Next
From: athinivas
Date:
Subject: Re: [GENERAL] delete a file everytime pg server starts/crashes