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(at)gmx(dot)net http://yi.org/peter-e/