Re: delete a file everytime pg server starts/crashes

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-05 14:32:50
Message-ID: CANu8Fiw8C++9HzonYkVjMVhtQdr_S3QB+oGrL62Kuvp11xoZTA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Oct 5, 2017 at 10:04 AM, athinivas <athinivas(at)gmail(dot)com> wrote:

> Hi,
>
> I'm having a requirement to delete a file in system whenever pg server is
> started/crashed. Any idea?
>
> Thanks,
> 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
>

It would be nice to know your Operating System and PostgreSQL version().

That being said, have you looked at the documentation for
"shared_preload_libraries" ?

*https://www.postgresql.org/docs/9.6/static/runtime-config-client.html
<https://www.postgresql.org/docs/9.6/static/runtime-config-client.html>*

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ray Cote 2017-10-05 14:51:31 Re: delete a file everytime pg server starts/crashes
Previous Message athinivas 2017-10-05 14:04:27 delete a file everytime pg server starts/crashes