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

From: "Aleksis Petrov" <a(dot)aleksis(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: TODO item: Allow the server to be stopped/restarted via an SQL API
Date: 2007-04-07 03:23:06
Message-ID: bd9c4fd00704062023x5d9213fbsa06e782c47bf733a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> "Aleksis Petrov" <a(dot)aleksis(at)gmail(dot)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
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Kirkwood 2007-04-07 03:45:55 Re: Bitmap index thoughts (another segfault)
Previous Message Tom Lane 2007-04-07 03:12:15 Re: TODO item: Allow the server to be stopped/restarted via an SQL API