stream-regress-unlogged-v1.patch

text/plain

Filename: stream-regress-unlogged-v1.patch
Type: text/plain
Part: 0
Message: Re: tweak to a few index tests to hits ambuildempty() routine.

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 v1
File+
src/test/recovery/t/027_stream_regress.pl 2 1
Author:     Noah Misch <noah@leadboat.com>
Commit:     Noah Misch <noah@leadboat.com>

    Use --no-unlogged-table-data in t/027_stream_regress.pl.
    
    This removes the need to drop unlogged relations in the src/test/regress
    suite, like commit dec8ad367e46180f826d5b6dc820fbecba1b71d2 did.
    
    Reviewed by FIXME.
    
    Discussion: https://postgr.es/m/39945.1650895508@sss.pgh.pa.us

diff --git a/src/test/recovery/t/027_stream_regress.pl b/src/test/recovery/t/027_stream_regress.pl
index fdb4ea0..7982ac0 100644
--- a/src/test/recovery/t/027_stream_regress.pl
+++ b/src/test/recovery/t/027_stream_regress.pl
@@ -100,7 +100,8 @@ $node_primary->wait_for_catchup($node_standby_1, 'replay',
 command_ok(
 	[
 		'pg_dumpall', '-f', $outputdir . '/primary.dump',
-		'--no-sync', '-p', $node_primary->port
+		'--no-sync',  '-p', $node_primary->port,
+		'--no-unlogged-table-data'    # if unlogged, standby has schema only
 	],
 	'dump primary server');
 command_ok(