Re: run function on server restart - Mailing list pgsql-general

From John D. West
Subject Re: run function on server restart
Date
Msg-id CACYo-=+dJKeCGJtrYMU3nJSaqKNh7M_ZptTGZ-O7p7MiS=ExPg@mail.gmail.com
Whole thread Raw
In response to Re: run function on server restart  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: run function on server restart  (Rob Sargent <robjsargent@gmail.com>)
Re: run function on server restart  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List 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.Grittner@wicourts.gov> wrote:
"John D. West" <john.d.west@asu.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

pgsql-general by date:

Previous
From: javad M
Date:
Subject: Re: Cannot Run EnterpriseDB Postgresql Installation
Next
From: Mathieu Fenniak
Date:
Subject: fast-archiver tool, useful for pgsql DB backups