TODO item: Allow the server to be stopped/restarted via an SQL API
TODO item: Allow the server to be stopped/restarted via an SQL API
От:
"Aleksis Petrov" <a.aleksis@gmail.com>
Дата:
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
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Aleksis Petrov" 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
От:
"Aleksis Petrov" <a.aleksis@gmail.com>
Дата:
Via signal handling? Use the kill() function (or its pg equivalent) to send the appropriate signal?
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