Apparently the answer to my original question is "no, there is no way to run a function at postgres startup." The question on monitoring apps intrigues me, however. What can they do, and what is available?
Thanks!
-- John
On Fri, Aug 24, 2012 at 3:56 PM, Kevin Grittner <Kevin.Grittner@xxxxxxxxxxxx> wrote:
> I have various background processes outside of postgres that needAll of our applications are coded such that when they have an error
> to be killed and restarted after the server reboots.
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