What is the best way to kill/restart the postmaster?

Started by Nonameabout 23 years ago3 messagesgeneral
Jump to latest
#1Noname
mihai11@mailcity.com

Hi everybody!

Like I said... how should I kill the postmaster? I have tried a
kill -HUP <pid> but it ignored the signal, then I did a kill -9 -
which is NOT recommended. Perhaps there is something similar to
'apachectl' - that does the same thing for PostgreSql.

Best regards,
Razvan M.

#2Thomas Kellerer
spam_eater@gmx.net
In reply to: Noname (#1)
Re: What is the best way to kill/restart the postmaster?

Razvan schrieb:

Hi everybody!

Like I said... how should I kill the postmaster? I have tried a
kill -HUP <pid> but it ignored the signal, then I did a kill -9 -
which is NOT recommended. Perhaps there is something similar to
'apachectl' - that does the same thing for PostgreSql.

What about pg_ctl stop ???

Thomas

#3Noname
mihai11@mailcity.com
In reply to: Noname (#1)
Re: What is the best way to kill/restart the postmaster?

What about pg_ctl stop ???

Thanks... that's it.

Regards,
Razvan MIHAIU