Re: pg_ctl stop returns error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Murakami <exit(at)zaa(dot)att(dot)ne(dot)jp>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_ctl stop returns error
Date: 2001-04-02 02:25:18
Message-ID: 3270.986178318@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Murakami <exit(at)zaa(dot)att(dot)ne(dot)jp> writes:
> But when I try to stop DB with "pg_ctl -w stop", it returns an error.
> Error is "Waiting for postmaster shutting down.....pg_ctl: postmaster does not shut down"

Do you have active clients?

The default behavior of pg_ctl stop is to prevent new client connections
but not to shut down the database until the last old client disconnects.
If you want a more forceful approach to shutting down, read the man
page...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Murakami 2001-04-02 02:47:48 Re: pg_ctl stop returns error
Previous Message Tom Lane 2001-04-02 02:22:05 Re: How do I...