Skip site navigation (1) Skip section navigation (2)

Re: Misc. Win32 questions

From: Ian Barwick <barwick(at)gmail(dot)com>
To: Magnus Hagander <mha(at)sollentuna(dot)net>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Misc. Win32 questions
Date: 2004-12-12 20:49:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32
On Sun, 12 Dec 2004 19:55:10 +0100, Magnus Hagander <mha(at)sollentuna(dot)net> wrote:
> >> >(without forcibly
> >> >stopping / starting the server)?
> >>
> >> You can either use "pg_ctl kill", or you can send a "pause"
> >command to
> >> the service.
> >
> >"pause"? Well, I suppose it's more humane than kill ;-).
> >I get an error about the server not returning an error which
> >might be an internal Windows error or an internal service
> >error, but it seems to work.
> Yeah, that's normal.

I like the "command line" version as well:

C:\Program Files\PostgreSQL\8.0.0-rc1\bin>net pause pgsql-8.0.0-rc1
The PostgreSQL Database Server 8.0.0-rc1 service failed to pause.
More help is available by typing NET HELPMSG 3539.
C:\Program Files\PostgreSQL\8.0.0-rc1\bin>net helpmsg 3539
The *** service failed to pause.

(trying to think what three-letter word is meant here... ;-)

Seriously, would this not be a good FAQ item too?

Thanks for all the feedback.

Ian Barwick

In response to

pgsql-hackers-win32 by date

Next:From: Dave PageDate: 2004-12-12 21:59:47
Subject: Re: Misc. Win32 questions
Previous:From: Magnus HaganderDate: 2004-12-12 18:55:10
Subject: Re: Misc. Win32 questions

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group