TODO item: Allow the server to be stopped/restarted via an SQL API
Started by Aleksis Petrovabout 19 years ago3 messageshackers
Hi all,
Would it be acceptable to invoke pg_ctl in the API functions to stop and
restart the server?
thanks
Re: TODO item: Allow the server to be stopped/restarted via an SQL API
"Aleksis Petrov" <a.aleksis@gmail.com> writes:
Would it be acceptable to invoke pg_ctl in the API functions to stop and
restart the server?
No. Not everyone uses pg_ctl for that.
regards, tom lane
Re: TODO item: Allow the server to be stopped/restarted via an SQL API
Via signal handling? Use the kill() function (or its pg equivalent) to send
the appropriate signal?
Show quoted text
On 4/6/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Aleksis Petrov" <a.aleksis@gmail.com> writes:
Would it be acceptable to invoke pg_ctl in the API functions to stop and
restart the server?No. Not everyone uses pg_ctl for that.
regards, tom lane