Re: Remote administration functionality - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Remote administration functionality
Date
Msg-id 24486.1122870535@sss.pgh.pa.us
Whole thread Raw
In response to Re: Remote administration functionality  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Remote administration functionality  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Luke Lonergan wrote:
>> Has there been any agreement or a concept for remote reboot?

> Reload of config file and rotate log files were part of the original
> patch that I will try to apply.  I am not sure how remote restart would
> work.

Remote reboot to change shared_buffers and other shmem-sizing parameters
seems pretty doable: all you need is a slightly more user-friendly
version of the standard response to backend crash, since that sequence
already kills and recreates the shmem segment.  The postmaster itself
doesn't have to change anything.

I'm not sure how to handle remote reconfiguration of, say,
listen_addresses.  The postmaster doesn't normally reconsider that after
postmaster startup.  We'd have to either fix that (difficulty uncertain)
or invent a way for the postmaster to quit and restart (ick).

None of this seems like 8.1 material, though.  May I remind you that
we're already a month past feature freeze?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew - Supernews
Date:
Subject: Re: [COMMITTERS] pgsql: Add GUC variables to control keep-alive
Next
From: "Dave Page"
Date:
Subject: Re: Remote administration functionality