run function on server restart

From: "John D(dot) West" <john(dot)d(dot)west(at)asu(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: run function on server restart
Date: 2012-08-24 16:45:46
Message-ID: CACYo-=Ktc3AVis3Lf0Y5du7Myx2y0mmp0wC3wgLSEw=Ax1dOdQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sometimes the server process crashes and restarts, usually when I run some
large calculations that eat up all available memory. Is there any way to
detect this and run a cleanup routine when it happens? Running 8.4 on
Ubuntu.

-- John

Responses

Browse pgsql-general by date

  From Date Subject
Next Message EXT-Rothermel, Peter M 2012-08-24 17:59:56 Overlapping time ranges constraints in 8.4
Previous Message Tom Lane 2012-08-24 14:52:12 Re: Rules, Windows and ORDER BY