Content-Length: 260329 | pFad | http://github.com/postgrespro/postgres_cluster/commit/8d926029e817d280b2376433e3aaa3895e1a7128

AE Expand expected output for recovery test even further. · postgrespro/postgres_cluster@8d92602 · GitHub
Skip to content

Commit 8d92602

Browse files
committed
Expand expected output for recovery test even further.
I'd assumed that the backend being killed should be able to get out an error message - but it turns out it's not guaranteed that it's not still sending a ready-for-query. Really need to do something about getting these error message to the client. Reported-By: Thomas Munro, Tom Lane Discussion: https://postgr.es/m/CAEepm=0TE90nded+bNthP45_PEvGAAr=3gxhHJObL4xmOLtX0w@mail.gmail.com https://postgr.es/m/14968.1506101414@sss.pgh.pa.us
1 parent f9583e8 commit 8d92602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/recovery/t/013_crash_restart.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
$killme_stdin .= q[
116116
SELECT 1;
117117
];
118-
ok(pump_until($killme, \$killme_stderr, qr/WARNING: terminating connection because of crash of another server process/m),
118+
ok(pump_until($killme, \$killme_stderr, qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly/m),
119119
"psql query died successfully after SIGQUIT");
120120
$killme_stderr = '';
121121
$killme_stdout = '';

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/8d926029e817d280b2376433e3aaa3895e1a7128

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy