Re: How does an application recognize the death of the

From: Reid Thompson <reid(dot)thompson(at)ateb(dot)com>
To: Geoffrey <esoteric(at)3times25(dot)net>
Cc: PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: How does an application recognize the death of the
Date: 2006-05-04 12:49:19
Message-ID: 4459F84F.2050708@ateb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Geoffrey wrote:
> How do folks handle the death of the postmaster in their applications?
> Assuming the postmaster dies after an application has connected to the
> database, but before it makes a request. What should I look for?
> Currently our application that's in development does not handle the
> situation well. What we want to do is gracefully (as possible)
> shutdown the application.
>
you should provide a bit more information regarding your application...
is it C code, PHP, RUBY, etc. Each of these would have different
solutions. As already mentioned, some already have handling code that
throws errors. Others may require a bit more work on your part to
recognize and handle the situation.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-05-04 12:52:54 Re: linker
Previous Message srinivasa.n 2006-05-04 12:33:11 linker