Fix bug with start_recoery().
authorTatsuo Ishii <ishii at sraoss.co.jp>
Mon, 25 Apr 2011 22:58:04 +0000 (22:58 +0000)
committerTatsuo Ishii <ishii at sraoss.co.jp>
Mon, 25 Apr 2011 22:58:04 +0000 (22:58 +0000)
commitbfa849ee1d6da37ec47d301477e68556bcbf24c2
treeec264cae81ac2764690f196958cca06506c9ae01
parentd7eeaa864116de0e47d75d886124962e28708a41
Fix bug with start_recoery().
It calls connect_backend() and then calls PQfinish(NULL) if
connect_backend() returns NULL, which is apparently wrong usage of
PQfinish(). Actually PQfinish() has been called in connect_backend()
in this case.
Also fix typo and enhance error message.
recovery.c