Re: [GENERAL] delete a file everytime pg server starts/crashes

Поиск
Список
Период
Сортировка
От Melvin Davidson
Тема Re: [GENERAL] delete a file everytime pg server starts/crashes
Дата
Msg-id CANu8FizZgvGktF4L-s4CmyY1apUhjcmm7cj2wcMgKwjZwtai7Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] delete a file everytime pg server starts/crashes  (athinivas <athinivas@gmail.com>)
Ответы Re: [GENERAL] delete a file everytime pg server starts/crashes  (athinivas <athinivas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: athinivas
Дата:
Сообщение: Re: [GENERAL] delete a file everytime pg server starts/crashes
Следующее
От: athinivas
Дата:
Сообщение: Re: [GENERAL] delete a file everytime pg server starts/crashes