Re: TODO item: Allow the server to be stopped/restarted via an SQL API - Mailing list pgsql-hackers

From Aleksis Petrov
Subject Re: TODO item: Allow the server to be stopped/restarted via an SQL API
Date
Msg-id bd9c4fd00704062023x5d9213fbsa06e782c47bf733a@mail.gmail.com
Whole thread Raw
In response to Re: TODO item: Allow the server to be stopped/restarted via an SQL API  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: TODO item: Allow the server to be stopped/restarted via an SQL API
Next
From: Mark Kirkwood
Date:
Subject: Re: Bitmap index thoughts (another segfault)