]> 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)
commitae3c8c57cbaa8d88be61dc26f7b5c138c3c98dd7
tree150f0694da21cdcf04353cc42e29f52e78602a00
parentcdcddc4a5a06952eafc65907c25c21510c7d54c0
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