Re: Shutdown fails with both 'fast' and 'immediate' - Mailing list pgsql-admin

From Tom Lane
Subject Re: Shutdown fails with both 'fast' and 'immediate'
Date
Msg-id 4652.1273674753@sss.pgh.pa.us
Whole thread Raw
In response to Shutdown fails with both 'fast' and 'immediate'  (David Schnur <dnschnur@gmail.com>)
Responses Re: Shutdown fails with both 'fast' and 'immediate'  (David Schnur <dnschnur@gmail.com>)
List pgsql-admin
David Schnur <dnschnur@gmail.com> writes:
> I develop an app that uses a back-end Postgres database, currently 8.3.9.
>  The database is started when the app starts up, and stopped when it shuts
> down.  Shutdown uses pg_ctl with -m fast, and waits two minutes for the
> process to complete.  If it doesn't, it tries -m immediate, and waits two
> more minutes before logging an error and giving up.

Hm, does it shut down properly if you use -m immediate immediately
instead of trying fast first?

            regards, tom lane

pgsql-admin by date:

Previous
From: David Schnur
Date:
Subject: Shutdown fails with both 'fast' and 'immediate'
Next
From: Kenneth Marshall
Date:
Subject: Re: Shutdown fails with both 'fast' and 'immediate'