Re: run function on server restart

From: "John D(dot) West" <john(dot)d(dot)west(at)asu(dot)edu>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: run function on server restart
Date: 2012-08-24 21:46:41
Message-ID: CACYo-=+dJKeCGJtrYMU3nJSaqKNh7M_ZptTGZ-O7p7MiS=ExPg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have various background processes outside of postgres that need to be
killed and restarted after the server reboots.

-- John

On Fri, Aug 24, 2012 at 2:29 PM, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov
> wrote:

> "John D. West" <john(dot)d(dot)west(at)asu(dot)edu> wrote:
>
> > Sometimes the server process crashes and restarts, usually when I
> > run some large calculations that eat up all available memory.
>
> You might want to reconfigure to avoid that.
>
> > Is there any way to detect this and run a cleanup routine when it
> > happens?
>
> What is it that are you trying to clean up?
>
> -Kevin
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mathieu Fenniak 2012-08-24 21:48:02 fast-archiver tool, useful for pgsql DB backups
Previous Message javad M 2012-08-24 21:24:48 Re: Cannot Run EnterpriseDB Postgresql Installation