]> granicus.if.org Git - postgresql/commit
pg_upgrade: shut down server after auth failure
authorBruce Momjian <bruce@momjian.us>
Fri, 16 Aug 2013 15:09:09 +0000 (11:09 -0400)
committerBruce Momjian <bruce@momjian.us>
Fri, 16 Aug 2013 15:09:09 +0000 (11:09 -0400)
commitac76ec27b933a4f0e1c6840ab1aaef770ed14395
treeb31dc59000d9c1052b11c705369566ec47c7c589
parent05cbce6f30b9037f035f76f5cdf45fca3e9dd012
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
contrib/pg_upgrade/server.c