Re: AW: Shutdown term

Поиск
Список
Период
Сортировка
От Thomas Swan
Тема Re: AW: Shutdown term
Дата
Msg-id 5.0.2.1.0.20010314122925.027370f8@tangent.ics.olemiss.edu
обсуждение исходный текст
Ответ на Re: AW: Shutdown term  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
At 3/14/2001 11:13 AM, Peter Eisentraut wrote:
>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 ... ;-)

Well, I also thought you could use the same method to do a warning.

pg_ctl --message="Database going offline in 5 minutes"

or something along those lines...



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Martin A. Marques"
Дата:
Сообщение: Re: database died
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: database died