From: | Melvin Davidson <melvin6925(at)gmail(dot)com> |
---|---|
To: | athinivas <athinivas(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: delete a file everytime pg server starts/crashes |
Date: | 2017-10-08 13:51:51 |
Message-ID: | CANu8FizZgvGktF4L-s4CmyY1apUhjcmm7cj2wcMgKwjZwtai7Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Oct 8, 2017 at 8:33 AM, athinivas <athinivas(at)gmail(dot)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(at)postgresql(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | athinivas | 2017-10-08 14:01:27 | Re: delete a file everytime pg server starts/crashes |
Previous Message | athinivas | 2017-10-08 12:33:18 | Re: delete a file everytime pg server starts/crashes |