pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Bernhard Schrader <bernhard.schrader@innogames.de>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
Date: Thu, 27 Jan 2011 12:09:41 -0500 (EST)
Message-ID: <201101271709.p0RH9f421528@momjian.us> (raw)
In-Reply-To: <AANLkTinYj56gG8mB0X6F57qmMfGqONmZ11d_sUosrdTr@mail.gmail.com>

Scott Marlowe wrote:
> > My initial reaction is that something is wrong with your system, either
> > the I/O or the way it is being shutdown by the script. ?I would start to
> > look in the script and do some pg_ctl tests starting/stopping the
> > server.
> 
> It could be that his application or whatever is making connections
> while he's trying to do this.  An open connection that's actually
> doing something will stop a normal shutdown.
> 
> Is there a reason the pg upgrade script does not use -m fast?

Uh, well, I assume that the person has already shut down all db
connections, and opened it only for super-users.  If the system is not
shutting down, that should signal to the user that they have not locked
down the system properly.  We would not want someone to connect during
pg_upgrade processing, and doing -m fast is not going to help with that.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +



view thread (11+ messages)  latest in thread

Message-ID: <201101271709.p0RH9f421528@momjian.us>
Permalink:  ../201101271709.p0RH9f421528@momjian.us/
Also on:    postgresql.org/message-id/201101271709.p0RH9f421528@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, scott.marlowe@gmail.com, bernhard.schrader@innogames.de, Kevin.Grittner@wicourts.gov
  Subject: Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
  In-Reply-To: <201101271709.p0RH9f421528@momjian.us>
  References: <AANLkTinYj56gG8mB0X6F57qmMfGqONmZ11d_sUosrdTr@mail.gmail.com> <201101271709.p0RH9f421528@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox