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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ac76ec27b933a4f0e1c6840ab1aaef770ed14395

Modified Files
--------------
contrib/pg_upgrade/server.c |   34 +++++++++++++++++++++++++++++-----
1 file changed, 29 insertions(+), 5 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to