Re: Shutting down warm standby server? " - Mailing list pgsql-admin

From Glyn Astill
Subject Re: Shutting down warm standby server? "
Date
Msg-id 549197.82850.qm@web25810.mail.ukl.yahoo.com
Whole thread Raw
In response to Re: Shutting down warm standby server? "  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Aha.. excellent, thanks Tom!

Sorry, I shall try to RTFM in the future.

--- Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Glyn Astill <glynastill@yahoo.co.uk> writes:
> > I've setup a warm standby reading WAL files, however when I try
> to
> > shut it down I get the message "server does not shut down".
>
> > postgres@way5c:/mnt/archive$ /usr/local/pgsql/bin/pg_ctl stop -D
> > /data/postgres/ -m smart
> > waiting for server to shut
> >
> down...............................................................
> > failed
> > pg_ctl: server does not shut down
>
> Well, yeah, because you told it "-m smart" which is defined as
> "don't
> exit until all work is done".  "-m fast" should work though, at
> least
> in 8.2.x --- if you are using something older, try "-m immediate".
>
>             regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire
> to
>        choose an index scan if your joining column's datatypes do
> not
>        match
>



      __________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com



pgsql-admin by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: Is there a limit to the number of partitions?
Next
From: Andrew Sullivan
Date:
Subject: Re: reconfiguring diskspace while upgrading to 8.2.5