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. Not everyone uses pg_ctl for that.
regards, tom lane
