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

From Kevin Grittner
Subject Re: run function on server restart
Date
Msg-id 5037B2420200002500049B92@gw.wicourts.gov
Whole thread Raw
In response to Re: run function on server restart  ("John D. West" <john.d.west@asu.edu>)
Responses Re: run function on server restart
List pgsql-general
"John D. West" <john.d.west@asu.edu> wrote:

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

All of our applications are coded such that when they have an error
on a database connection, they check for a serialization failure or
a broken connection; if they find either they retry the database
transaction.  That would be my first recommendation.  (Well, second,
after identifying the causes of server crashes and fixing them.)

Are you running any monitoring applications which could trigger what
you want?

-Kevin


pgsql-general by date:

Previous
From: Rob Sargent
Date:
Subject: Re: run function on server restart
Next
From: "John D. West"
Date:
Subject: Re: run function on server restart