pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Stefan Berg <svb1@ananzi.co.za>
Cc: pgsql-sql@postgresql.org
Subject: Re: Database not restarting
Date: Wed, 26 Mar 2003 22:22:32 -0800
Message-ID: <200303262222.32821.josh@agliodbs.com> (raw)
In-Reply-To: <redirect-67329425@mail01.infosat.net>
References: <redirect-67329425@mail01.infosat.net>

Stef,

> Can anyone give some advise on an elegant way to shut down
> the database properly. In my case, I don't worry or care
> if someone was still busy on the database, because nobody
> updates stuff.

$PGHOME/bin/pg_ctl -m fast stop

There was a bug with "fast" shutdown in pg_ctl in some versions of Postgres; 
I'm not sure whether or not it's fixed in 7.3.1 but it certainly is fixed in 
7.3.3.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco




view thread (2+ messages)

Message-ID: <200303262222.32821.josh@agliodbs.com>
Permalink:  ../200303262222.32821.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200303262222.32821.josh@agliodbs.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, svb1@ananzi.co.za
  Subject: Re: Database not restarting
  In-Reply-To: <200303262222.32821.josh@agliodbs.com>

* 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