[COMMITTERS] pgsql: Accept that server might not be able to send error in crashreco - Mailing list pgsql-committers

From Andres Freund
Subject [COMMITTERS] pgsql: Accept that server might not be able to send error in crashreco
Date
Msg-id E1duWps-00030F-Su@gemulon.postgresql.org
Whole thread Raw
Responses Re: [COMMITTERS] pgsql: Accept that server might not be able to send error in crash reco  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5ada1fcd0c30be1b0b793a802cf6da386a6c1925

Modified Files
--------------
src/test/recovery/t/013_crash_restart.pl | 98 ++++++++++++++++++++++++--------
1 file changed, 74 insertions(+), 24 deletions(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Remove no-op GiST support functions in the core GiST opclasses.
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] Re: [COMMITTERS] pgsql: Make new crash restart test abit more robust.