Fix new recovery test for log_error_verbosity=verbose case

The new test is from commit 9e4f914b5e.

With this setting messages have SQL error numbers included, so that
needs to be provided for in the pattern looked for.

Backpatch to all live branches like the original.
This commit is contained in:
Andrew Dunstan 2022-07-29 17:43:34 -04:00
parent 8df167baa7
commit e90c4fc881
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ while ($max_attempts-- >= 0)
last
if (
find_in_log(
$node_standby, "WARNING: creating missing directory: pg_tblspc/",
$node_standby, qr!WARNING: ( [A-Z0-9]+:)? creating missing directory: pg_tblspc/!,
$logstart));
sleep 1;
}