Re: AW: Shutdown term - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: AW: Shutdown term
Date
Msg-id Pine.LNX.4.30.0103141812200.1211-100000@peter.localdomain
Whole thread Raw
In response to Re: AW: Shutdown term  (Thomas Swan <tswan-lst@ics.olemiss.edu>)
Responses Re: AW: Shutdown term  (Thomas Swan <tswan@ics.olemiss.edu>)
List pgsql-hackers
Thomas Swan writes:

> It may seem stupid but I was thinking the reason could be an argument to
> the pg_ctl program with a default of (Database Shutdown).
>
> pg_ctl stop --message="System going down for a reboot"
> or
> pg_ctl stop -msg "System upgrade. System will be available again at 5:00am"

I foresee a PQmotd(PGconn *) function ... ;-)

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgmonitor patch for query string
Next
From: Jim Mercer
Date:
Subject: Re: Re: Week number