Re: [HACKERS] TODO item: Allow the server to be stopped/restarted via an SQL API

2007-04-06 Thread Aleksis Petrov
Via signal handling? Use the kill() function (or its pg equivalent) to send the appropriate signal? On 4/6/07, Tom Lane <[EMAIL PROTECTED]> wrote: "Aleksis Petrov" <[EMAIL PROTECTED]> writes: > Would it be acceptable to invoke pg_ctl in the API functions to stop and > restart the server? No.

Re: [HACKERS] TODO item: Allow the server to be stopped/restarted via an SQL API

2007-04-06 Thread Tom Lane
"Aleksis Petrov" <[EMAIL PROTECTED]> 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 ---(end of broadcast)---

[HACKERS] TODO item: Allow the server to be stopped/restarted via an SQL API

2007-04-06 Thread Aleksis Petrov
Hi all, Would it be acceptable to invoke pg_ctl in the API functions to stop and restart the server? thanks