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 14:11:41 |
Message-ID: | CANu8FizpmRSByVKHNLvxHhmEUPvgUdvBkG_3xgXAxLJC5EO6FA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Oct 8, 2017 at 10:01 AM, athinivas <athinivas(at)gmail(dot)com> wrote:
> Yes, will take the epoch value from same and create a new file. Upon
> subsequent calls, will access with that filename...if it fails(incase if
> the
> postmaster is restarted), will create a new one.
>
> @Melvin Does this capture all failure scenarios?? Or you have any other
> better ways to do it. Your comments are much appreciated !!
>
>
>
> --
> 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
>
*athinivas,*
*This is covered in the documentation:*
*https://www.postgresql.org/docs/9.6/static/functions-info.html
<https://www.postgresql.org/docs/9.6/static/functions-info.html>*
*9.25. System Information Functions*
*pg_postmaster_start_time()*
*It does not matter what caused the failure, it is the time Postgres is
started again.*
--
*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 | Kim Rose Carlsen | 2017-10-08 19:01:22 | Equivalence Classes when using IN |
Previous Message | athinivas | 2017-10-08 14:01:27 | Re: delete a file everytime pg server starts/crashes |