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
------
REL9_3_STABLE

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

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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 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