running with log_checkpoints = on
pg_ctl -D foo -m fast stop
log says
LOG: received fast shutdown request
LOG: aborting any active transactions
LOG: shutting down
LOG: restartpoint starting: shutdown immediate
Some of us know that the "immediate" word refers to the restartpoint
request, though that word causes conceptual conflict with the shutdown
mode, which was fast, not immediate.
Think we need to change the wording of this
LOG: restartpoint starting: shutdown immediate
so it is clearer what we mean
-- Simon Riggs www.2ndQuadrant.com