v2-0001-waitforlsn-tests.patch

application/octet-stream

Filename: v2-0001-waitforlsn-tests.patch
Type: application/octet-stream
Part: 1
Message: Re: Bug: WAIT FOR LSN crashes with assertion failure inside PL/pgSQL DO blocks and procedures

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
Series: patch v2-0001
File+
src/test/recovery/t/049_wait_for_lsn.pl 1 1
diff --git a/src/test/recovery/t/049_wait_for_lsn.pl b/src/test/recovery/t/049_wait_for_lsn.pl
index bf61b8c4..ca07873e 100644
--- a/src/test/recovery/t/049_wait_for_lsn.pl
+++ b/src/test/recovery/t/049_wait_for_lsn.pl
@@ -216,7 +216,7 @@ $node_standby->psql(
 	"SELECT pg_wal_replay_wait_wrap('${lsn3}');",
 	stderr => \$stderr);
 ok( $stderr =~
-	  /WAIT FOR must be called without an active or registered snapshot/,
+	  /WAIT FOR cannot be executed from a function or procedure/,
 	"get an error when running within another function");
 
 # 6. Check parameter validation error cases on standby before promotion