You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected backend message after SIGQUIT changed in commit
7e784d1, but we missed updating this test case. Also, experience
shows that we might sometimes get "could not send data to server"
instead of either of the libpq messages the test is looking for.
Per report from Mark Dilger. Back-patch to v14 where the
backend message changed.
Discussion: https://postgr.es/m/17BD82D7-49AC-40C9-8204-E7ADD30321A0@enterprisedb.com
Copy file name to clipboardExpand all lines: src/test/recovery/t/013_crash_restart.pl
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@
117
117
ok( pump_until(
118
118
$killme,
119
119
\$killme_stderr,
120
-
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost/m
120
+
qr/WARNING: terminating connection because of unexpected SIGQUIT signal|server closed the connection unexpectedly|connection to server was lost|could not send data to server/m
121
121
),
122
122
"psql query died successfully after SIGQUIT");
123
123
$killme_stderr = '';
@@ -130,7 +130,7 @@
130
130
ok( pump_until(
131
131
$monitor,
132
132
\$monitor_stderr,
133
-
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost/m
133
+
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost|could not send data to server/m
134
134
),
135
135
"psql monitor died successfully after SIGQUIT");
136
136
$monitor->finish;
@@ -195,7 +195,7 @@
195
195
ok( pump_until(
196
196
$killme,
197
197
\$killme_stderr,
198
-
qr/server closed the connection unexpectedly|connection to server was lost/m
198
+
qr/server closed the connection unexpectedly|connection to server was lost|could not send data to server/m
199
199
),
200
200
"psql query died successfully after SIGKILL");
201
201
$killme->finish;
@@ -206,7 +206,7 @@
206
206
ok( pump_until(
207
207
$monitor,
208
208
\$monitor_stderr,
209
-
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost/m
209
+
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost|could not send data to server/m
0 commit comments