Re: [GENERAL] How does an application recognize the death of the

2006-05-04 Thread Reid Thompson
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 si

Re: [GENERAL] How does an application recognize the death of the

2006-05-03 Thread Guy Fraser
It does not get mail for a long time. ;^) It also can not establish a connection to the listener. If you are on the same machine as the db, you could check to see if the process is running. You could also setup an inetd listener that indicates the status of the postmaster. I have not done that

Re: [GENERAL] How does an application recognize the death of the postmaster

2006-05-03 Thread Guy Rouillier
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

Re: [GENERAL] How does an application recognize the death of the postmaster

2006-05-03 Thread Wayne Conrad
On Wed, May 03, 2006 at 02:44:03PM -0400, 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 applicat

[GENERAL] How does an application recognize the death of the postmaster

2006-05-03 Thread Geoffrey
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. Wh