Fix typo in comment.
pg_upgrade: shut down server after auth failure

Register atexit() server shutdown if pg_ctl successfully started the
server, but we can't connect to it.

Backpatch to 9.3.

Pavel Raiskup
Move more bgworker code to bgworker.c; also, some renaming.

Per discussion on pgsql-hackers.

Michael Paquier, slightly modified by me.  Original suggestion
from Amit Kapila.
release notes: Update to 9.3 git current

Backpatch to 9.3, of course.
release notes: update 9.3 major feature list

Backpatch to 9.3.