]> granicus.if.org Git - postgresql/commit
Accept that server might not be able to send error in crash recovery test.
authorAndres Freund <andres@anarazel.de>
Wed, 20 Sep 2017 04:29:51 +0000 (21:29 -0700)
committerAndres Freund <andres@anarazel.de>
Wed, 20 Sep 2017 04:37:24 +0000 (21:37 -0700)
commit5ada1fcd0c30be1b0b793a802cf6da386a6c1925
treefb16927715c43212bb635ab8131310466fdb77c6
parent2d484f9b058035d41204f2eb8a0a8d2e8ee57b44
Accept that server might not be able to send error in crash recovery test.

As it turns out we can't rely that the script's monitoring session is
terminated with a proper error by the server, because the session
might be terminated while already trying to send data.

Also improve robustness and error reporting facilities of the test,
developed while debugging this issue.

Discussion: https://postgr.es/m/20170920020038.kllxgilo7xzwmtto@alap3.anarazel.de
src/test/recovery/t/013_crash_restart.pl