Re: shutdown postmaster question

Поиск
Список
Период
Сортировка
От George Weaver
Тема Re: shutdown postmaster question
Дата
Msg-id 004001c519f7$e3e43ed0$6400a8c0@Dell4500
обсуждение исходный текст
Ответ на shutdown postmaster question  (<operationsengineer1@yahoo.com>)
Ответы Re: shutdown postmaster question  (<operationsengineer1@yahoo.com>)
Список pgsql-novice
You might find starting and stopping postmaster easier by using pg_ctl.  Eg
in a batch file the following will stop the server:

bash pg_ctl stop -D /usr/share/postgresql/data

Regards,
George


----- Original Message -----
From: <operationsengineer1@yahoo.com>
To: <pgsql-novice@postgresql.org>
Sent: Wednesday, February 23, 2005 3:17 PM
Subject: [NOVICE] shutdown postmaster question


>i use the following commands to start the postmaster
> on my development winxp / cygwin / pgsql 7.4.5
> setup...
>
> 1.
>
> /usr/sbin/cygserver &
>
> 2.
>
> postmaster -i -D /usr/share/postgresql/data &
>
> before getting to my real question, what do the "&"
> characters do?
>
> now to the real question...  how do i shut down the
> postmaster?  i checked the docs bu it wasn't clear.  i
> tried their example and it didn't work.
>
> i read about the signals... SIGTERM, SIGINT, or
> SIGQUIT, but i don't how to implement them since the
> example given didn't work.  any help woul dbe greatly
> appreciated.
>
> i have been shutting down cygwin to end pgsql, but my
> guess is that isn't the best way to shut it down.
>
> tia...
>
>
>
> __________________________________
> Do you Yahoo!?
> Take Yahoo! Mail with you! Get it on your mobile phone.
> http://mobile.yahoo.com/maildemo
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>



В списке pgsql-novice по дате отправления:

Предыдущее
От: William Yu
Дата:
Сообщение: Re: Can Clipper connect Postgresql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: user defined types and strings