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-4
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@
110
110
$killme,
111
111
$psql_timeout,
112
112
\$killme_stderr,
113
-
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost/m
113
+
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
114
114
),
115
115
"psql query died successfully after SIGQUIT");
116
116
$killme_stderr = '';
@@ -124,7 +124,7 @@
124
124
$monitor,
125
125
$psql_timeout,
126
126
\$monitor_stderr,
127
-
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost/m
127
+
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
128
128
),
129
129
"psql monitor died successfully after SIGQUIT");
130
130
$monitor->finish;
@@ -190,7 +190,7 @@
190
190
$killme,
191
191
$psql_timeout,
192
192
\$killme_stderr,
193
-
qr/server closed the connection unexpectedly|connection to server was lost/m
193
+
qr/server closed the connection unexpectedly|connection to server was lost|could not send data to server/m
194
194
),
195
195
"psql query died successfully after SIGKILL");
196
196
$killme->finish;
@@ -202,7 +202,7 @@
202
202
$monitor,
203
203
$psql_timeout,
204
204
\$monitor_stderr,
205
-
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost/m
205
+
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