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(-)

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouppgsql-committers @
categoriespostgresql
postedAug 16, '13 at 3:09p
activeAug 16, '13 at 3:40p
posts3
users1
websitepostgresql.org...
irc#postgresql

1 user in discussion

Bruce Momjian: 3 posts

People

Translate

site design / logo © 2017 Grokbase