Re: run function on server restart

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <john(dot)d(dot)west(at)asu(dot)edu>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: run function on server restart
Date: 2012-08-24 21:56:34
Message-ID: 5037B2420200002500049B92@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"John D. West" <john(dot)d(dot)west(at)asu(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John D. West 2012-08-24 22:25:34 Re: run function on server restart
Previous Message Rob Sargent 2012-08-24 21:52:30 Re: run function on server restart