Re: Shutdown fails with both 'fast' and 'immediate'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Schnur <dnschnur(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Shutdown fails with both 'fast' and 'immediate'
Date: 2010-05-12 14:32:33
Message-ID: 4652.1273674753@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

David Schnur <dnschnur(at)gmail(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kenneth Marshall 2010-05-12 14:45:25 Re: Shutdown fails with both 'fast' and 'immediate'
Previous Message David Schnur 2010-05-12 14:22:14 Shutdown fails with both 'fast' and 'immediate'